Add ikea_of_sweden_vindstyrka_tvoc
This commit is contained in:
parent
de9fe17a69
commit
0ab13885a8
16
roles/automations/files/ikea-vindstyrka.yaml
Normal file
16
roles/automations/files/ikea-vindstyrka.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
- id: ikea_tvoc
|
||||
alias: '[IKEA] TVOC read'
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
seconds: "0"
|
||||
minutes: "/1"
|
||||
condition: [ ]
|
||||
action:
|
||||
- service: zha_toolkit.attr_read
|
||||
data:
|
||||
ieee: bc28ecf4ea0c94d7463945442c9b5e46
|
||||
endpoint: 1
|
||||
cluster: 64638
|
||||
attribute: 0
|
||||
manf: 4476
|
||||
state_id: sensor.ikea_of_sweden_vindstyrka_tvoc
|
@ -341,6 +341,14 @@ sensor:
|
||||
unit_prefix: k
|
||||
unit_time: h
|
||||
source: sensor.computer_outlet_electrical_measurement
|
||||
# template for the IKEA TVOC
|
||||
- platform: template
|
||||
sensors:
|
||||
ikea_of_sweden_vindstyrka_tvoc:
|
||||
friendly_name: "IKEA of Sweden VINDSTYRKA TVOC"
|
||||
unit_of_measurement: "TVOC index"
|
||||
icon_template: mdi:weather-dust
|
||||
value_template: ""
|
||||
# # Powercalc
|
||||
# - platform: powercalc
|
||||
# create_group: Kitchen lights
|
||||
@ -413,3 +421,5 @@ plant:
|
||||
battery: sensor.coffee_plant_sensor_battery
|
||||
min_moisture: 30
|
||||
max_moisture: 50
|
||||
|
||||
zha_toolkit:
|
||||
|
Loading…
Reference in New Issue
Block a user