You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the unique_id fields for temperature, humidity, battery, and trend sensors to be prefixed with 'TX07KTXC_' for improved identification and consistency in Home Assistant.
@@ -68,7 +68,7 @@ public static dynamic CreateTrend(string sensorName)
68
68
name="Trend",
69
69
state_topic="TX07KTXC/"+sensorName+"/state",
70
70
expire_after=600,
71
-
unique_id=sensorName+"_trend",
71
+
unique_id="TX07KTXC_"+sensorName+"_trend",
72
72
value_template="{% set up = value[3] | int(base=16,default=0) | bitwise_and(1) | bool %}{% set down = value[3] | int(base=16,default=0) | bitwise_and(2) | bool %}{% if up %}↗{% elif down %}↘{% else %}→{% endif %}",
0 commit comments