speleolontra / daikin_residential_altherma

Home Assistant Integration specific for BRP069A78 Heat Pump Model, via Daikin App Onecta. Users have good experience also for BRP069A62 and BRP069A61 (but not tested directly).
GNU General Public License v3.0
98 stars 14 forks source link

Automations based on temperature don't work #65

Closed thyeestes closed 2 years ago

thyeestes commented 2 years ago

I have this integration installed in HA and I'm using a BRP069A78 unit. All information from the unit seems to be correctly displayed in my HA instance, however I'm not able to use the temperature sensors in automations.

Not sure if this is related to https://github.com/speleolontra/daikin_residential_altherma/issues/48

Example automation:

alias: Notify when tank temp is at 60
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.altherma_tank_temperature
    attribute: ""
    below: "51"
    for:
      hours: 0
      minutes: 0
      seconds: 0
condition: []
action:
  - service: notify.pushover
    data:
      message: Legionella programma uitgevoerd
mode: single
jwillemsen commented 2 years ago

I haven't used triggers/conditions myself, buy why do you quote the below value, see https://www.home-assistant.io/docs/scripts/conditions/#numeric-state-condition, not sure if that could be a problem, I would more expect above: 58 instead of a below

thyeestes commented 2 years ago

That is because I'm testing the automation. My tank is only above 59 once a week. So I changed the trigger to a value around my tank temp. In that way it should be triggered more often, but it doesn't.

teocannata commented 2 years ago

Just test and it worked for me, below my automation:

alias: test
description: ""
trigger:
  - platform: numeric_state
    entity_id: sensor.altherma_tank_temperature
    above: "41"
condition: []
action:
  - service: notify.teo
    data:
      message: "\"andata\""
mode: single

Hope this helps...

thyeestes commented 2 years ago

That's pretty much the same as I have, but not working for me unfortunately.

thyeestes commented 2 years ago

I've upgraded my OS and rebooted, now it seems to work?