1
0

Add ikea_of_sweden_vindstyrka_tvoc

This commit is contained in:
Przemek Grondek 2024-08-21 03:08:09 +02:00
parent de9fe17a69
commit 0ab13885a8
2 changed files with 26 additions and 0 deletions

View 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

View File

@ -341,6 +341,14 @@ sensor:
unit_prefix: k unit_prefix: k
unit_time: h unit_time: h
source: sensor.computer_outlet_electrical_measurement 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 # # Powercalc
# - platform: powercalc # - platform: powercalc
# create_group: Kitchen lights # create_group: Kitchen lights
@ -413,3 +421,5 @@ plant:
battery: sensor.coffee_plant_sensor_battery battery: sensor.coffee_plant_sensor_battery
min_moisture: 30 min_moisture: 30
max_moisture: 50 max_moisture: 50
zha_toolkit: