Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sliders for pool temperature #21

Open
rsnodgrass opened this issue Jun 5, 2021 · 2 comments
Open

Sliders for pool temperature #21

rsnodgrass opened this issue Jun 5, 2021 · 2 comments

Comments

@rsnodgrass
Copy link
Contributor

rsnodgrass commented Jun 5, 2021

Would like to figure out how to add bounded temperature setting sliders (or other) to the heaters. Presumably since these are water_heaters there is a common way to do this. I'd leave the minimum setting to 32, since freeze protection would effectively switch on the heaters anyway at 32.

For my pool, I have the sliders set to a max of 85 degrees F, while the spa at 104 degrees F.

I haven't investigated yet, other than create Lovelace mockup of the sliders:

image

Anyway, adding this as a placeholder.

@rsnodgrass
Copy link
Contributor Author

Just for reference, my Lovelace:

type: entities
entities:
  - entity: light.landscape_light
    type: custom:multiple-entity-row
    name: Lights
    state_header: Landscape
    toggle: true
    state_color: true
    entities:
      - entity: light.pool_light
        name: Pool
        toggle: true
  - label: Pool
    type: section
  - entity: input_boolean.pool_safety_alarm
    type: custom:multiple-entity-row
    name: Pool Heater
    state_header: ''
    toggle: true
    state_color: true
    icon: mdi:coolant-temperature
    entities:
      - entity: sensor.pool_last_temp
        name: Last Temp
      - entity: sensor.pool_desired_temp
        name: Desired
  - entity: switch.stairs_main_lights
    name: Waterfall *
  - label: Spa
    type: section
  - entity: input_boolean.pool_safety_alarm
    type: custom:multiple-entity-row
    name: Spa Heater
    state_header: ''
    toggle: true
    state_color: true
    icon: mdi:coolant-temperature
    entities:
      - entity: sensor.spa_last_temp
        name: Last Temp
      - entity: sensor.spa_desired_temp
        name: Desired
  - entity: input_number.spa_temp_slider
    name: Spa Temp Setting
  - label: Safety
    type: section
  - entity: input_boolean.pool_safety_alarm
    name: Child Safety Alarm
  - entity: binary_sensor.ring_side_motion
    name: Pool Area Occupied
show_header_toggle: false

@rsnodgrass
Copy link
Contributor Author

rsnodgrass commented Jun 5, 2021

The simple water header card that could be used, but wanted an even simpler slider.

Perhaps the best is to just have input numbers and then automation to set the heater temperature.

input_number:                                                                                                                                                                                    
  pool_temp_slider:                                                                                     
    name: "Pool Temp Setting"                                                                           
    unit_of_measurement: "°F"                                                                           
    icon: mdi:thermometer                                                                               
    initial: 85                                                                                         
    min: 32                                                                                             
    max: 85                                                                                             
    step: 1                                                                                             
                                                                                                        
  spa_temp_slider:                                                                                      
    name: "Spa Temp Setting"                                                                            
    unit_of_measurement: "°F"                                                                           
    icon: mdi:thermometer                                                                               
    initial: 104                                                                                        
    min: 32                                                                                             
    max: 104                                                                                            
    step: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant