Open Drtrider opened 3 months ago
Hey there @shulyaka, mind taking a look at this issue as it has been labeled with an integration (generic_hygrostat
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
generic_hygrostat documentation generic_hygrostat source (message by IssueLinks)
I have still the same issue with this on 2 different generic_hygrostat's. Is there any progress on this. I'm now using 2024.10.2.
here is my code for it:
generic_hygrostat:
- name: Feuchtraum
humidifier: switch.entfeuchter_switch_0
target_sensor: sensor.shellyhtg3_84fce6393360_humidity
min_humidity: 50
max_humidity: 60
target_humidity: 55
dry_tolerance: 2
wet_tolerance: 2
device_class: "dehumidifier"
min_cycle_duration:
seconds: 5
keep_alive:
minutes: 3
initial_state: true
away_humidity: 55
away_fixed: True
sensor_stale_duration: 00:31:00
- name: Abstellraum
humidifier: switch.shellyplusplugs_d48afc7ac378_switch_0
target_sensor: sensor.shellyhtg3_84fce63a9650_humidity
min_humidity: 50
max_humidity: 60
target_humidity: 55
dry_tolerance: 2
wet_tolerance: 2
device_class: "dehumidifier"
min_cycle_duration:
seconds: 5
keep_alive:
minutes: 3
initial_state: true
away_humidity: 55
away_fixed: True
sensor_stale_duration: 00:31:00
In my opinion, its most likely your sensor.shellyhtg3_84fce6393360_humidity
that stops responding/goes Unavailable
, and the hygrostat cannot parse that state.
Might be worth looking at its state history as well as your hygrostat to see if they are unavailable at the same time.
If it is the connectivity of the shelly thats the issue, try setting the sensor_stale_duration to an hour or more, since i can see that the hygrostat is sometimes unresponsive for longer periods of time than 31 minutes.
The problem
My generic_hygrostat repeatedly shows "became unavailable" in the logbook.
My current config;
Looking at the logs, I noticed a few messages stating:
Unable to update from sensor: could not convert string to float: 'Stalled'
Another issue thread mentioned a similar issue but the resolution seemed to be changing the
sensor_stale_duration
which I've attempted to do, with no improvement.Here's an image of the history, you can see the "blips" so to speak where it's offline.
What version of Home Assistant Core has the issue?
core-2024.7.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response