tasmota_irhvac:set_swingv is not working - throwing Unknown error on Automation scene
Closed this issue · 6 comments
@rvignesh123 I've tried running the automation shown below and there were no errors.
Is this component of yours up to date?
alias: test
description: ""
trigger:
- platform: time
at: "23:39:00"
condition: []
action:
- service: tasmota_irhvac.set_swingv
data:
swingv: auto
target:
entity_id: climate.to_debug
mode: single
Home Assistant 2023.6.0
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230607.0 - latest
And I copied latest release into custom_components folder and restarted HA
One Update:
I'm not a python dev.. eventhough I managed to changed the line
411: update_tasks.append(device.async_update_ha_state(True))
to
411: update_tasks.append(asyncio.create_task(device.async_update_ha_state(True)))
It is working for me. May be I suspect any changes in new version of HA might have caused this.
Please let me know , whether I'm wrong or right. If right , please add the code.
I hadn't updated to HA 2023.6.0 yet, so I just updated and verified it again, but there were no errors.
I will scrutinize the points you made.
It seems I misunderstood. I've confirmed that the command is sent but I'm getting a similar error.
I will scrutinize this and fix it.
@rvignesh123 I have fixed this. thank you! 👍