Generic Thermostat not reliably controlling switch and/or stuck in Idle/Heat

Hi,

Problem: When a new temperature is set on the generic thermostat, then from time to time the thermostat (or switch?) fails in one of multiple ways:

  1. The termostat says:“Heat: 16°C” and “Currently: 18.4°C”. The switch is “On”, but the physical oven is not switched on. The Telldus TZWP-102 Plug-in Switch reports that the oven is on although it is not.

  2. The termostat says:“Heat: 16°C” and “Currently: 25°C”. The switch is “On”, and the the physical oven is _switched on. The room is way too hot.

So basically, I am not able to reliably control the temperature. This happens maybe every 2nd day, so I would really appreciate all the help I could get.

Relevant parts of my setup (let me know if you need more details)

  • Hassio 0.83.2 on Rasberry Pi
  • ZWave components (small house, good coverage, they can all see all components in the mesh network)
  • Switches: Telldus TZWP-102 Plug-in Switch
  • Thermometer: Sensative Strips Comfort
  • 4 generic thermostats, each controlling their own heater switch. (No cooling)
  • Schedule controlled by Heaty (https://hass-apps.readthedocs.io/en/stable/apps/heaty/index.html)

I have a lot of logs and I am not quite sure what to include. I am including some extracts for case 1, but I can find additional logs (and configuration details) as well.

Here, the generic thermostat for “kid1” says it turns off the heater, but the new state is still “termostat=heat”. “idle” is never mentioned in the log for the next hour.

2018-12-10 07:00:01 INFO (MainThread) [homeassistant.components.climate.generic_thermostat] Turning off heater switch.kid2_heater
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=homeassistant, service=turn_off, service_data=entity_id=switch.kid2_heater, service_call_id=4db0c9a5e8cc4f12aaeb8ee82bf0fddf>
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.kid2_termostat, old_state=<state climate.kid2_termostat=heat; current_temperature=18.4, min_temp=14.0, max_temp=26.0, temperature=16.0, operation_mode=heat, operation_list=['heat', 'off'], friendly_name=Kid2 Termostat, supported_features=129 @ 2018-12-10T06:30:13.279268+01:00>, new_state=<state climate.kid2_termostat=heat; current_temperature=19.5, min_temp=14.0, max_temp=26.0, temperature=16.0, operation_mode=heat, operation_list=['heat', 'off'], friendly_name=Kid2 Termostat, supported_features=129 @ 2018-12-10T06:30:13.279268+01:00>>
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'call_service', 'data': {'domain': 'homeassistant', 'service': 'turn_off', 'service_data': {'entity_id': 'switch.kid2_heater'}, 'service_call_id': '4db0c9a5e8cc4f12aaeb8ee82bf0fddf'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 1, 611668, tzinfo=<UTC>), 'context': {'id': '4103236e8efa41fe80573454815342b6', 'user_id': None}}}
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'climate.kid2_termostat', 'old_state': <state climate.kid2_termostat=heat; current_temperature=18.4, min_temp=14.0, max_temp=26.0, temperature=16.0, operation_mode=heat, operation_list=['heat', 'off'], friendly_name=Kid2 Termostat, supported_features=129 @ 2018-12-10T06:30:13.279268+01:00>, 'new_state': <state climate.kid2_termostat=heat; current_temperature=19.5, min_temp=14.0, max_temp=26.0, temperature=16.0, operation_mode=heat, operation_list=['heat', 'off'], friendly_name=Kid2 Termostat, supported_features=129 @ 2018-12-10T06:30:13.279268+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 1, 616887, tzinfo=<UTC>), 'context': {'id': '9bd948d92f054fa5929f54e1a56fa772', 'user_id': None}}}
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=switch, service=turn_off, service_data=entity_id=['switch.kid2_heater'], service_call_id=9f460cf139c642dfa3b68a40ba75df10>
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1797884848] Sending {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'climate.kid2_termostat', 'old_state': <state climate.kid2_termostat=heat; current_temperature=18.4, min_temp=14.0, max_temp=26.0, temperature=16.0, operation_mode=heat, operation_list=['heat', 'off'], friendly_name=Kid2 Termostat, supported_features=129 @ 2018-12-10T06:30:13.279268+01:00>, 'new_state': <state climate.kid2_termostat=heat; current_temperature=19.5, min_temp=14.0, max_temp=26.0, temperature=16.0, operation_mode=heat, operation_list=['heat', 'off'], friendly_name=Kid2 Termostat, supported_features=129 @ 2018-12-10T06:30:13.279268+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 1, 616887, tzinfo=<UTC>), 'context': {'id': '9bd948d92f054fa5929f54e1a56fa772', 'user_id': None}}}
2018-12-10 07:00:01 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'call_service', 'data': {'domain': 'switch', 'service': 'turn_off', 'service_data': {'entity_id': ['switch.kid2_heater']}, 'service_call_id': '9f460cf139c642dfa3b68a40ba75df10'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 1, 655045, tzinfo=<UTC>), 'context': {'id': 'fb36beb9783c4c3fbb5fea292e696cd8', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=zwave.kid2_switch, old_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=129, sentFailed=48, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 06:30:12:425 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=494, averageRequestRTT=586, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, new_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>>
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=129, sentFailed=48, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 06:30:12:425 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=494, averageRequestRTT=586, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 155757, tzinfo=<UTC>), 'context': {'id': '2989e657d59543678b7be9abfa7600be', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1797884848] Sending {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=129, sentFailed=48, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 06:30:12:425 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=494, averageRequestRTT=586, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 155757, tzinfo=<UTC>), 'context': {'id': '2989e657d59543678b7be9abfa7600be', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=zwave.kid2_switch, old_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, new_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1774, receivedDups=52, receivedUnsolicited=1656, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>>
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1774, receivedDups=52, receivedUnsolicited=1656, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 562152, tzinfo=<UTC>), 'context': {'id': '70ee3a2dffe243619c310f29c2276597', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1797884848] Sending {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1773, receivedDups=52, receivedUnsolicited=1655, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 06:59:14:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1774, receivedDups=52, receivedUnsolicited=1656, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 562152, tzinfo=<UTC>), 'context': {'id': '70ee3a2dffe243619c310f29c2276597', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.kid2_switch_voltage, old_state=<state sensor.kid2_switch_voltage=233.63; node_id=9, value_index=16, value_instance=1, value_id=72057594193936642, power_consumption=500.501, unit_of_measurement=V, friendly_name=Kid2 Heater Voltage @ 2018-12-10T06:59:14.337103+01:00>, new_state=<state sensor.kid2_switch_voltage=233.63; node_id=9, value_index=16, value_instance=1, value_id=72057594193936642, power_consumption=500.501, unit_of_measurement=V, friendly_name=Kid2 Heater Voltage @ 2018-12-10T07:00:12.653649+01:00>>
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.kid2_switch_voltage', 'old_state': <state sensor.kid2_switch_voltage=233.63; node_id=9, value_index=16, value_instance=1, value_id=72057594193936642, power_consumption=500.501, unit_of_measurement=V, friendly_name=Kid2 Heater Voltage @ 2018-12-10T06:59:14.337103+01:00>, 'new_state': <state sensor.kid2_switch_voltage=233.63; node_id=9, value_index=16, value_instance=1, value_id=72057594193936642, power_consumption=500.501, unit_of_measurement=V, friendly_name=Kid2 Heater Voltage @ 2018-12-10T07:00:12.653649+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 653850, tzinfo=<UTC>), 'context': {'id': 'ba7d9ed3f52f4cb991e23908f2012aed', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1797884848] Sending {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.kid2_switch_voltage', 'old_state': <state sensor.kid2_switch_voltage=233.63; node_id=9, value_index=16, value_instance=1, value_id=72057594193936642, power_consumption=500.501, unit_of_measurement=V, friendly_name=Kid2 Heater Voltage @ 2018-12-10T06:59:14.337103+01:00>, 'new_state': <state sensor.kid2_switch_voltage=233.63; node_id=9, value_index=16, value_instance=1, value_id=72057594193936642, power_consumption=500.501, unit_of_measurement=V, friendly_name=Kid2 Heater Voltage @ 2018-12-10T07:00:12.653649+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 653850, tzinfo=<UTC>), 'context': {'id': 'ba7d9ed3f52f4cb991e23908f2012aed', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=zwave.kid2_switch, old_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1774, receivedDups=52, receivedUnsolicited=1656, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, new_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1775, receivedDups=52, receivedUnsolicited=1657, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:706 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>>
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1774, receivedDups=52, receivedUnsolicited=1656, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1775, receivedDups=52, receivedUnsolicited=1657, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:706 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 873700, tzinfo=<UTC>), 'context': {'id': 'b786f74859f3440e90118d764d41d84b', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1797884848] Sending {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1774, receivedDups=52, receivedUnsolicited=1656, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:406 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1775, receivedDups=52, receivedUnsolicited=1657, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:706 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 873700, tzinfo=<UTC>), 'context': {'id': 'b786f74859f3440e90118d764d41d84b', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.kid2_switch_current, old_state=<state sensor.kid2_switch_current=2.25; node_id=9, value_index=20, value_instance=1, value_id=72057594193936706, power_consumption=500.501, unit_of_measurement=A, friendly_name=Kid2 Heater Current @ 2018-12-10T06:59:14.720647+01:00>, new_state=<state sensor.kid2_switch_current=0.0; node_id=9, value_index=20, value_instance=1, value_id=72057594193936706, power_consumption=500.501, unit_of_measurement=A, friendly_name=Kid2 Heater Current @ 2018-12-10T07:00:12.961807+01:00>>
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.kid2_switch_current', 'old_state': <state sensor.kid2_switch_current=2.25; node_id=9, value_index=20, value_instance=1, value_id=72057594193936706, power_consumption=500.501, unit_of_measurement=A, friendly_name=Kid2 Heater Current @ 2018-12-10T06:59:14.720647+01:00>, 'new_state': <state sensor.kid2_switch_current=0.0; node_id=9, value_index=20, value_instance=1, value_id=72057594193936706, power_consumption=500.501, unit_of_measurement=A, friendly_name=Kid2 Heater Current @ 2018-12-10T07:00:12.961807+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 962027, tzinfo=<UTC>), 'context': {'id': 'ea2857deebd141068b7f9f03a2ae0df0', 'user_id': None}}}
2018-12-10 07:00:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1797884848] Sending {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'sensor.kid2_switch_current', 'old_state': <state sensor.kid2_switch_current=2.25; node_id=9, value_index=20, value_instance=1, value_id=72057594193936706, power_consumption=500.501, unit_of_measurement=A, friendly_name=Kid2 Heater Current @ 2018-12-10T06:59:14.720647+01:00>, 'new_state': <state sensor.kid2_switch_current=0.0; node_id=9, value_index=20, value_instance=1, value_id=72057594193936706, power_consumption=500.501, unit_of_measurement=A, friendly_name=Kid2 Heater Current @ 2018-12-10T07:00:12.961807+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 12, 962027, tzinfo=<UTC>), 'context': {'id': 'ea2857deebd141068b7f9f03a2ae0df0', 'user_id': None}}}
2018-12-10 07:00:13 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=zwave.kid2_switch, old_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1775, receivedDups=52, receivedUnsolicited=1657, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:706 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, new_state=<state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1776, receivedDups=52, receivedUnsolicited=1658, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:13:006 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>>
2018-12-10 07:00:13 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1873496496] Sending {'id': 200, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'zwave.kid2_switch', 'old_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1775, receivedDups=52, receivedUnsolicited=1657, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:12:706 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>, 'new_state': <state zwave.kid2_switch=ready; node_id=9, node_name=Telldus TZWP-102 Plug-in Switch, manufacturer_name=Telldus, product_name=TZWP-102 Plug-in Switch, query_stage=Complete, is_awake=True, is_ready=True, is_failed=False, is_info_received=True, max_baud_rate=40000, is_zwave_plus=True, capabilities={'listening', 'beaming', 'zwave_plus', 'routing'}, neighbors={1, 2, 13, 14, 16}, sentCnt=131, sentFailed=49, retries=8, receivedCnt=1776, receivedDups=52, receivedUnsolicited=1658, sentTS=2018-12-10 07:00:02:030 , receivedTS=2018-12-10 07:00:13:006 , lastRequestRTT=979, averageRequestRTT=622, lastResponseRTT=576, averageResponseRTT=782, friendly_name=Kid2 Telldus TZWP-102 Plug-in Switch @ 2018-12-06T18:50:51.739514+01:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 12, 10, 6, 0, 13, 185115, tzinfo=<UTC>), 'context': {'id': '79bab7ef3e914fdf97b4e5df3ca9bfe3', 'user_id': None}}}

The generic thermostats are configured like this:

- platform: generic_thermostat
  name: Kid1 Termostat
  heater: switch.kid1_heater
  target_sensor: sensor.kid1_sensative_strips_comfort_temperature
  min_temp: 14
  max_temp: 26
  min_cycle_duration:
    minutes: 2
  cold_tolerance: 0.5
  hot_tolerance: 0

- platform: generic_thermostat
  name: Kid2 Termostat
  heater: switch.kid2_heater
  target_sensor: sensor.kid2_sensative_strips_comfort_temperature
  min_temp: 14
  max_temp: 26
  min_cycle_duration:
    minutes: 2
  cold_tolerance: 0.5
  hot_tolerance: 0