[RTL_433 Discovery] Add Govee water sensor Status entity (#1499)
* [RTL_433 Discovery] Add Govee water sensor Status entity Add Govee water status sensor auto discovery as a binary_sensor, the entity will detect Water Leak Event and go back to Off state after 60seconds * Format and comment
This commit is contained in:
1 parent
84f5029b14
commit
578f522356
2 files changed
+13
-2
No files matched your search
+3
-2
@@ -82,7 +82,7 @@ struct RTL_433device {
|
||||
|
||||
extern std::vector<RTL_433device*> RTL_433devices;
|
||||
|
||||
const char parameters[39][4][24] = {
|
||||
const char parameters[40][4][24] = {
|
||||
// RTL_433 key, name, unit, device_class
|
||||
{"temperature_C", "temperature", "°C", "temperature"},
|
||||
{"temperature_1_C", "temperature", "°C", "temperature"},
|
||||
@@ -122,7 +122,8 @@ const char parameters[39][4][24] = {
|
||||
{"tamper", "tamper", "", ""},
|
||||
{"alarm", "alarm", "", ""},
|
||||
{"motion", "motion", "", "motion"},
|
||||
{"strike_count", "strike count", "", ""}}; // from rtl_433_mqtt_hass.py
|
||||
{"strike_count", "strike count", "", ""}, // from rtl_433_mqtt_hass.py
|
||||
{"event", "Status", "", "moisture"}};
|
||||
# endif
|
||||
#endif
|
||||
/*-------------------RF topics & parameters----------------------*/
|
||||
|
||||
Reference in new issue
Block a user