I have a temperature sensor from leaksmart that is not getting correctly updated in Home Assistant. It seems to update for a while and then drifts to a stuck value. This seems like there might be a problem in passing the information back into the database vs the communication to wink.
the red line shows the problem, the last update was caused by calling the update service.
During the flat response the debug information showed that wink was getting the correct temperature
from the log:
2018-10-15 08:23:51 DEBUG (Thread-8) [homeassistant.components.wink] {“errors”: [], “data”: [{“desired_state”: {“pairing_mode”: null, “ota_image_selection”: “ALL”, “ota_window_end”: 6, “pairing_mode_duration”: 0, “led_brightness”: null, “pairing_device_type_selector”: null, "ota…
{“desired_state”: {“identify_mode”: false}, “name”: “Sensor1”, “linked_service_id”: null, “upc_id”: “xxx”, “hub_id”: “xxxx”, “units”: {}, “location”: "xxxxxx, “battery_updated_at”: 1539613303.3581448, “firmware_date_code”: “20151124”, “agent_session_id_updated_at”: null, “liquid_detected”: false, “firmware_date_code_updated_at”: 1539613303.3581448, “desired_identify_mode_updated_at”: null, “firmware_version_updated_at”: 1539613303.3581448, “desired_identify_mode”: null, “temperature_changed_at”: 1539613303.3581448, “identify_mode_updated_at”: 1539613303.3581448, “firmware_version_changed_at”: 1539365772.552471, “liquid_detected_true”: “N/A”, “identify_mode”: false, “temperature_updated_at”: 1539613303.3581448, “connection”: true, “temperature”: 23.09, “agent_session_id”: null, “battery”: 1.0, “liquid_detected_updated_at”: 1539613303.3581448, “liquid_detected_true_updated_at”: 1480184878.3948772, “connection_changed_at”: 1525114503.7736635}, “hidden_at”: null, “icon_id”: null, “upc_code”: “waxman_sensor”, “updated_at”: 1481331376, “primary_upc_code”: “waxman_sensor”, “capabilities”: {“desired_state_fields”: [{“attribute_id”: 258048, “mutability”: “read-write”, “type”: “boolean”, “field”: “identify_mode”}], “sensor_types”: [{“mutability”: “read-only”, “type”: “boolean”, “field”: “connection”}, {“attribute_id”: 4228051029, “mutability”: “read-only”, “type”: “boolean”, “field”: “liquid_detected”}, {“attribute_id”: 127009, “mutability”: “read-only”, “type”: “percentage”, “field”: “battery”}, {“attribute_id”: 67301376, “mutability”: “read-only”, “type”: “float”, “field”: “temperature”}]