mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-12 10:18:53 +01:00
Home Assistant discovery - add energy counters today/yesterday, add clear date, add friendly names (#1092)
* HASS discovery energy stats fixed except energycounter_clear_date * HASS: add friendly entity names, remove timestamp class from energycounter_clear_date as workaround for hass-incompatible date format * HA energycounter_clear_date fixed for correct interpreting as home assistant timestamp sensor * fix compile on OpenW800 due to OBK_DISABLE_ALL_DRIVERS on that platform --------- Co-authored-by: Stefan Smith <stefan064>
This commit is contained in:
@@ -67,9 +67,12 @@ typedef enum {
|
||||
ILLUMINANCE_SENSOR,
|
||||
// dBm unit
|
||||
HASS_RSSI,
|
||||
/// @brief Wh, kWh
|
||||
ENERGY_SENSOR,
|
||||
// hPa
|
||||
PRESSURE_SENSOR,
|
||||
/// @Brief Timestamp Sensor
|
||||
TIMESTAMP_SENSOR,
|
||||
|
||||
} ENTITY_TYPE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user