From 8f61e367f6b026f7c89822a0372b12f548a60ca5 Mon Sep 17 00:00:00 2001 From: scottyphillips Date: Fri, 11 Mar 2022 13:13:08 +1100 Subject: [PATCH] Bug fix version 3.4.4 --- custom_components/echonetlite/manifest.json | 2 +- custom_components/echonetlite/sensor.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/custom_components/echonetlite/manifest.json b/custom_components/echonetlite/manifest.json index 2715970..b2d3ba8 100644 --- a/custom_components/echonetlite/manifest.json +++ b/custom_components/echonetlite/manifest.json @@ -12,6 +12,6 @@ "codeowners": [ "@scottyphillips" ], - "version": "3.4.3", + "version": "3.4.4", "iot_class": "local_polling" } diff --git a/custom_components/echonetlite/sensor.py b/custom_components/echonetlite/sensor.py index babd9fb..9783e31 100644 --- a/custom_components/echonetlite/sensor.py +++ b/custom_components/echonetlite/sensor.py @@ -71,6 +71,10 @@ async def async_setup_entry(hass, config, async_add_entities, discovery_info=Non entities.append( EchonetSensor(entity['echonetlite'], op_code, ENL_SENSOR_OP_CODES['default'], config.title) ) + elif op_code in list(entity['echonetlite']._update_flags_full_list): + entities.append( + EchonetSensor(entity['echonetlite'], op_code, ENL_SENSOR_OP_CODES['default'], config.title) + ) elif op_code in list(entity['echonetlite']._update_flags_full_list): entities.append( EchonetSensor(entity['echonetlite'], op_code, ENL_SENSOR_OP_CODES['default'], config.title)