From 866a2c99ea480eae10ff1e9bbfc4d96d9324a424 Mon Sep 17 00:00:00 2001 From: pszafer Date: Wed, 22 May 2024 12:47:15 +0200 Subject: [PATCH] Add Power measure to INA --- boneio-dimmer_2rgbw-v0_3.yaml | 4 ++-- boneio-dimmer_4cct-v0_3.yaml | 4 ++-- boneio-dimmer_8ch-v0_3.yaml | 4 ++-- devices/dimmer_ina219.yaml | 10 ++++++---- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/boneio-dimmer_2rgbw-v0_3.yaml b/boneio-dimmer_2rgbw-v0_3.yaml index 737746a..c65f9cf 100644 --- a/boneio-dimmer_2rgbw-v0_3.yaml +++ b/boneio-dimmer_2rgbw-v0_3.yaml @@ -20,7 +20,7 @@ external_components: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: v1.0.11 + ref: v1.0.12 files: [ 'devices/dimmer_serial_no.yaml', @@ -38,7 +38,7 @@ ethernet: power_pin: GPIO16 dashboard_import: - package_import_url: github://boneIO-eu/esphome/boneio-dimmer_2rgbw-v0_3.yaml@v1.0.11 + package_import_url: github://boneIO-eu/esphome/boneio-dimmer_2rgbw-v0_3.yaml@v1.0.12 import_full_config: true pcf8574: diff --git a/boneio-dimmer_4cct-v0_3.yaml b/boneio-dimmer_4cct-v0_3.yaml index 2699976..431c2cb 100644 --- a/boneio-dimmer_4cct-v0_3.yaml +++ b/boneio-dimmer_4cct-v0_3.yaml @@ -20,7 +20,7 @@ external_components: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: v1.0.11 + ref: v1.0.12 files: [ 'devices/dimmer_serial_no.yaml', @@ -38,7 +38,7 @@ ethernet: power_pin: GPIO16 dashboard_import: - package_import_url: github://boneIO-eu/esphome/boneio-dimmer_4cct-v0_3.yaml@v1.0.11 + package_import_url: github://boneIO-eu/esphome/boneio-dimmer_4cct-v0_3.yaml@v1.0.12 import_full_config: true pcf8574: diff --git a/boneio-dimmer_8ch-v0_3.yaml b/boneio-dimmer_8ch-v0_3.yaml index faa4f0d..9b5afbf 100644 --- a/boneio-dimmer_8ch-v0_3.yaml +++ b/boneio-dimmer_8ch-v0_3.yaml @@ -20,7 +20,7 @@ external_components: packages: internals_packages: url: https://github.com/boneIO-eu/esphome - ref: v1.0.11 + ref: v1.0.12 files: [ 'devices/dimmer_serial_no.yaml', @@ -38,7 +38,7 @@ ethernet: power_pin: GPIO16 dashboard_import: - package_import_url: github://boneIO-eu/esphome/boneio-dimmer_8ch-v0_3.yaml@v1.0.11 + package_import_url: github://boneIO-eu/esphome/boneio-dimmer_8ch-v0_3.yaml@v1.0.12 import_full_config: true pcf8574: diff --git a/devices/dimmer_ina219.yaml b/devices/dimmer_ina219.yaml index 90614db..41c2f3e 100644 --- a/devices/dimmer_ina219.yaml +++ b/devices/dimmer_ina219.yaml @@ -4,11 +4,12 @@ sensor: shunt_resistance: 0.005 ohm bus_voltage: name: 'VDDL Supply' - unit_of_measurement: 'V' + entity_category: diagnostic + power: + name: 'VDDR Power' entity_category: diagnostic current: name: 'VDDL Current' - unit_of_measurement: 'A' entity_category: diagnostic shunt_voltage: name: 'VDDL Shunt Voltage' @@ -21,11 +22,12 @@ sensor: shunt_resistance: 0.005 ohm bus_voltage: name: 'VDDR Supply' - unit_of_measurement: 'V' + entity_category: diagnostic + power: + name: 'VDDR Power' entity_category: diagnostic current: name: 'VDDR Current' - unit_of_measurement: 'A' entity_category: diagnostic shunt_voltage: name: 'VDDR Shunt Voltage'