mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
renames, fixes , and other fun schtuff
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
mqtt:
|
||||
sensor:
|
||||
- name: "Timestamp"
|
||||
device_class: timestamp
|
||||
icon: mdi:clock-in
|
||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/time"
|
||||
entity_category: diagnostic
|
||||
unique_id: ecowitt-wh40-time
|
||||
device:
|
||||
identifiers: ecowitt-wh40
|
||||
name: Rain Gauge
|
||||
model: WH40
|
||||
manufacturer: EcoWitt
|
||||
|
||||
- name: "Precipitation"
|
||||
device_class: precipitation
|
||||
unit_of_measurement: "mm"
|
||||
value_template: "{{ value|float }}"
|
||||
state_class: measurement
|
||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/rain_mm"
|
||||
unique_id: ecowitt-wh40-rain-mm
|
||||
device:
|
||||
identifiers: ecowitt-wh40
|
||||
name: Rain Gauge
|
||||
model: WH40
|
||||
manufacturer: EcoWitt
|
||||
|
||||
- name: "Battery"
|
||||
device_class: battery
|
||||
unit_of_measurement: "%"
|
||||
value_template: "{{ (float(value) / 1.5) * 100 | round(0) }}"
|
||||
state_class: measurement
|
||||
entity_category: diagnostic
|
||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_V"
|
||||
unique_id: ecowitt-wh40-battery-v
|
||||
device:
|
||||
identifiers: ecowitt-wh40
|
||||
name: Rain Gauge
|
||||
model: WH40
|
||||
manufacturer: EcoWitt
|
||||
|
||||
binary_sensor:
|
||||
- name: "Battery OK"
|
||||
value_template: "{{ value|int }}"
|
||||
device_class: problem
|
||||
entity_category: diagnostic
|
||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_ok"
|
||||
payload_on: "1"
|
||||
payload_off: "0"
|
||||
unique_id: ecowitt-wh40-battery-ok
|
||||
device:
|
||||
identifiers: ecowitt-wh40
|
||||
name: Rain Gauge
|
||||
model: WH40
|
||||
manufacturer: EcoWitt
|
||||
Reference in New Issue
Block a user