core: Smartthings integration: Samsung fridge sensors status doesn't update in States or frontend
Home Assistant release with the issue: 0.97.2
Last working Home Assistant release (if known): Never tried with an earlier version
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Component/platform: Smartthings https://www.home-assistant.io/components/smartthings/
Description of problem:
I’ve just added a Samsung BRB260087WW fridge/freezer to an existing Smartthings integration in 0.97.2
Three sensors show up in HA, but they never update in either States or in the frontend. I can see in the log that HA is at least receiving open/close status for the doors, even if the state of the relevant device never changes.
States:
binary_sensor.refrigerator_contact off friendly_name: Refrigerator contact
device_class: opening
binary_sensor.refrigerator_filterstatus off friendly_name: Refrigerator filterStatus
device_class: problem
sensor.refrigerator_temperature_measurement unknown friendly_name: Refrigerator Temperature Measurement
device_class: temperature
In the frontend:

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
None
Traceback (if applicable):
No error/traceback visible in log, but here is a relevant excerpt showing that status updates are received.
2019-08-23 13:47:36 DEBUG (MainThread) [homeassistant.components.smartthings.smartapp] Subscriptions for app 'xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx' are up-to-date
2019-08-23 13:49:07 DEBUG (MainThread) [homeassistant.components.smartthings] Push update received: {'location_id': 'xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx', 'device_id': 'xxxxxxxx-xxxx-0000-0000-000000000000', 'component_id': 'main', 'capability': 'execute', 'attribute': 'data', 'value': {'payload': {'id': '0', 'x.com.samsung.da.openState': 'Close'}}, 'data': None}
2019-08-23 13:49:07 DEBUG (MainThread) [homeassistant.components.smartthings] Push update received: {'location_id': 'xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx', 'device_id': 'xxxxxxxx-xxxx-0000-0000-000000000000', 'component_id': 'main', 'capability': 'execute', 'attribute': 'data', 'value': {'payload': {'id': '1', 'x.com.samsung.da.openState': 'Open'}}, 'data': None}
2019-08-23 13:49:35 DEBUG (MainThread) [homeassistant.components.smartthings] Push update received: {'location_id': 'xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx', 'device_id': 'xxxxxxxx-xxxx-0000-0000-000000000000', 'component_id': 'main', 'capability': 'execute', 'attribute': 'data', 'value': {'payload': {'id': '1', 'x.com.samsung.da.openState': 'Close'}}, 'data': None}
Additional information:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 36 (11 by maintainers)
It looks like the PR to add the event functionality was closed before being finished. Any chance at finishing it?
Apparently I also have a “legacy” fridge. I can see debug messages in my HA log file showing “Push update received” with JSON data that I can decipher indicates that a certain door has been opened or closed, but there don’t seem to be any actual events raised in Home Assistant Core.
Genius!!!, Had it all except for
"Bearer:, many many thanks, I am now golden.