From e8ec5473c2d6d199de4634e4e7e9c5d51cab4ff6 Mon Sep 17 00:00:00 2001 From: "paul.rees" Date: Sun, 12 Nov 2023 08:14:36 +1000 Subject: [PATCH] reesaroo : fixing base modbus typo --- modbus_sungrow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modbus_sungrow.yaml b/modbus_sungrow.yaml index 29c13e1..1f3697b 100644 --- a/modbus_sungrow.yaml +++ b/modbus_sungrow.yaml @@ -1922,7 +1922,7 @@ template: - name: Sungrow device type unique_id: sg_device_type - availability: "{{ not is_state('sungrow_device_type_code.sungrow_device_type_code', 'unavailable') }}" + availability: "{{ not is_state('sensor.sungrow_device_type_code', 'unavailable') }}" # TODO: test state_class with enum # state_class: measurement device_class: enum @@ -2033,7 +2033,7 @@ template: # make the sensor ems_selection_raw more human readable - name: EMS mode selection unique_id: sg_ems_mode_selection - availability: "{{ not is_state('ems_mode_selection_raw.ems_mode_selection_raw', 'unavailable') }}" + availability: "{{ not is_state('sensor.ems_mode_selection_raw', 'unavailable') }}" # TODO: test state_class with enum with enum # state_class: measurement device_class: enum