mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
stop hating myself
This commit is contained in:
@@ -106,6 +106,7 @@ packages:
|
||||
wifi: !include common/wifi.yaml
|
||||
# device_base: !include common/complex_esp32_base.yaml
|
||||
device_base: !include common/device_base.yaml
|
||||
mqtt: !include common/mqtt_null.yaml
|
||||
|
||||
esp32:
|
||||
board: nodemcu-32s
|
||||
@@ -466,6 +467,13 @@ sensor:
|
||||
- throttle_average: ${throttle_time}
|
||||
# - heartbeat: ${watt_heartbeat}
|
||||
accuracy_decimals: 1
|
||||
qos: 1
|
||||
retain: true
|
||||
availability:
|
||||
topic: ${mqtt_root_topic}/${devicename}/${ct21Name}_w/status
|
||||
payload_available: online
|
||||
payload_not_available: offline
|
||||
state_topic: ${mqtt_root_topic}/${devicename}/${ct21Name}_w
|
||||
gain_voltage: ${voltage_cal}
|
||||
gain_ct: ${sct006}
|
||||
line_frequency: 60Hz
|
||||
@@ -796,6 +804,13 @@ sensor:
|
||||
unit_of_measurement: kWh
|
||||
device_class: energy
|
||||
state_class: total_increasing
|
||||
qos: 1
|
||||
retain: true
|
||||
availability:
|
||||
topic: ${mqtt_root_topic}/${devicename}/${ct21Name}_kwh/status
|
||||
payload_available: online
|
||||
payload_not_available: offline
|
||||
state_topic: ${mqtt_root_topic}/${devicename}/${ct21Name}_kwh
|
||||
# min_save_interval: ${update_time}
|
||||
|
||||
#kWh From CT 22
|
||||
|
||||
Reference in New Issue
Block a user