-
Notifications
You must be signed in to change notification settings - Fork 159
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
sensor.dryer is unavailable #491
Comments
This should be fixed in last release, please test and report result. |
Fixed that problem. Thanks. May be related, may be new problem. On attempting to power off appliance from integration. Same for washer and dryer. Appliance does not power off to be clear. This error originated from a custom integration. Logger: homeassistant.core Error executing service: <ServiceCall switch.turn_off (c:01GS3833AK6854QEZPR7SDQNBN): entity_id=['switch.dryer_power']> |
This is duplicated of #489, and I have no idea why this is happening. I close this because original issue is solved. |
Thanks |
Describe the bug
sensor.dryer is unavailable. everything else seems to be working okay
Expected behavior
Expecting a status other than unavailable. Mostly so the custom card works.
Screenshots
Environment details:
Output of HA logs
Logger: homeassistant
Source: custom_components/smartthinq_sensors/device_helpers.py:148
Integration: SmartThinQ LGE Sensors (documentation, issues)
First occurred: 10:57:46 PM (7 occurrences)
Last logged: 11:00:48 PM
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 182, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 330, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 135, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 390, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 566, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 610, in _async_write_ha_state
attr.update(self.extra_state_attributes or {})
File "/config/custom_components/smartthinq_sensors/sensor.py", line 721, in extra_state_attributes
ATTR_START_TIME: self._wrap_device.start_time,
File "/config/custom_components/smartthinq_sensors/device_helpers.py", line 148, in start_time
int(state.reservetime_hour)
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
The text was updated successfully, but these errors were encountered: