Comments (4)
I have a similar setup: a heater/cooler AC, but I have solved this by defining a pair of switches like the followings for each AC in the HA configuration. Inside the general configuration.yaml, I added:
switch: !include switch.yaml
and then, I created the switch.yaml file with a heater switch and a cooler switch for every AC.
The following example is for a room/climate named "oficina" (Office in Spanish):
# Switches (heater/cooler) for oficina:
- platform: template
switches:
oficina_heater:
value_template: "{{ is_state('climate.termostato_de_la_oficina', 'heat') }}"
turn_on:
service: climate.set_temperature
data:
hvac_mode: heat
temperature: 30
target:
entity_id: climate.termostato_de_la_oficina
turn_off:
service: climate.turn_off
target:
entity_id: climate.termostato_de_la_oficina
- platform: template
switches:
oficina_cooler:
value_template: "{{ is_state('climate.termostato_de_la_oficina', 'cool') }}"
turn_on:
service: climate.set_temperature
data:
hvac_mode: cool
temperature: 18
target:
entity_id: climate.termostato_de_la_oficina
turn_off:
service: climate.turn_off
target:
entity_id: climate.termostato_de_la_oficina
Then, you set up your dual_thermostat as:
- platform: dual_smart_thermostat
name: Termostato Dual Oficina
unique_id: termostato_dual_oficina
heater: switch.oficina_heater
cooler: switch.oficina_cooler
target_sensor: sensor.termostato_de_la_oficina_temperature
# the reminder options of the dual_thermostat
Final note: Even, you could specify a target temperature for the heater/cooler switch using a template (retrieving the target_temp of the dual_thermostat). But, in my case, as I turn on the AC in the cheapest hours of electricity cost, I want to boost the heating/cooling in those hours instead of "keeping the temperature around the target temp" all time. After those cheap hours, the zone is more heat/cool than the target temp, but it keeps at a comfortable temp for more time, trying to not use the AC during the expensive hours of electricity cost.
I hope this would have helped you. If you have any question about this setup, I can help you a bit more. :)
from ha-dual-smart-thermostat.
This is exactly my case. I use dual thermostat to control an AC. This AC does not have a temperature sensor. Dual Thermostat helps me to combine a temperature sensor with a virtual switch, to control the AC. But this also involves automation.
from ha-dual-smart-thermostat.
I use a similar setup as @alvarocarrera does.
from ha-dual-smart-thermostat.
I succeeded. Thank you. Now I don't need additional automations. 👍
The only automation I use with this thermostat, checks if I'm nearby, in the desired time interval, and if the consumption of the AC outlet is at a certain level.
If these three are true, set the "home" preset. If not, the "away" preset
from ha-dual-smart-thermostat.
Related Issues (20)
- [bug]. wrong HVACAction is set. HOT 9
- Service climate: set temperature does not work HOT 2
- [feat] - add binary sensor for aux heater status
- Entity None warning HOT 2
- 0.9.5 Update removed cool mode on my thermostat HOT 5
- After Upgrade v0.9.5-beta.4 -> v0.9.5 "hvac_action" attribute missing HOT 5
- Appreciation, question (help) and some ideas HOT 1
- [feeat] Opennings only for Heater or Cooler HOT 30
- [feat] Opening reverse switch state
- [feat] config flow
- [feat] config flow bare minimum setup
- [feat] restore last used HVAC mode on toggle HOT 9
- [feat] enable other climate options HOT 4
- chore: update home assistant version
- [feat] option to run fan after AC turned off to prevent mould build up
- Thermostat no longer turns on to heat/cool mode HOT 11
- [feat] Safety disable if sensor unavailable HOT 18
- Reload Config Temeprature HOT 4
- Not all preset modes available HOT 1
- [feat] validate preset modes by target temperatures Failed to call service climate/set_preset_mode... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-dual-smart-thermostat.