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

add support for climate #34

Open
PawelTroka opened this issue May 10, 2020 · 2 comments
Open

add support for climate #34

PawelTroka opened this issue May 10, 2020 · 2 comments

Comments

@PawelTroka
Copy link

this one is a bit more difficult, depending on actual HVAC device we may need off, cool and heat. Maybe it could be configurable which device is on/off for cool/off and which is on/off for heat/off?

PawelTroka added a commit to PawelTroka/TROKA.Software.SmartHome that referenced this issue May 10, 2020
@niloc132
Copy link

I've hacked in a simple control for this by creating template switches and adding them to the group that is visible on my watch.

Example:

switch:
        - platform: template
          switches:
                  house_temp_up:
                          value_template: "{{ False == is_state_attr('climate.my_ecobee3', 'temperature', 67) }}"
                          turn_on:
                                  service: climate.set_temperature
                                  data:
                                          entity_id: climate.my_ecobee3
                                          temperature: 68
                          turn_off: # Puts the ecobee back in current program state
                                  service: climate.set_preset_mode
                                  data:
                                          entity_id: climate.my_ecobee3
                                          preset_mode: "{{ state_attr('climate.my_ecobee3', 'climate_mode') }}"

Very dumb sample, as it assumes that the default is 67, and pushes it only up to 68 degrees, but might be an inspiration for how you could achieve something similar.

Main downside is that it is hard to get feedback other than on/off - but if you list all devices as on/off, that could be sufficient?

@mguaylam
Copy link

Climate would be nice indeed. I was able to add it, it does apear with it's current state (cool) but when triggered, it does nothing.

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

3 participants