add dimmer config split into multiple files

This commit is contained in:
pszafer
2024-05-19 20:41:18 +02:00
parent a36cac224a
commit dce79eadf6
8 changed files with 291 additions and 206 deletions

35
devices/dimmer_ina.yaml Normal file
View File

@@ -0,0 +1,35 @@
sensor:
- platform: ina219
address: 0x40
shunt_resistance: 0.005 ohm
bus_voltage:
name: 'VDDL Supply'
unit_of_measurement: 'V'
entity_category: diagnostic
current:
name: 'VDDL Current'
unit_of_measurement: 'A'
entity_category: diagnostic
shunt_voltage:
name: 'VDDL Shunt Voltage'
entity_category: diagnostic
max_voltage: 32V
max_current: 3.2A
update_interval: 5s
- platform: ina219
address: 0x41
shunt_resistance: 0.005 ohm
bus_voltage:
name: 'VDDR Supply'
unit_of_measurement: 'V'
entity_category: diagnostic
current:
name: 'VDDR Current'
unit_of_measurement: 'A'
entity_category: diagnostic
shunt_voltage:
name: 'VDDR Shunt Voltage'
entity_category: diagnostic
max_voltage: 32V
max_current: 3.2A
update_interval: 5s