Skip to content

Commit

Permalink
reesaroo : fixing base modbus typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paul.rees committed Nov 12, 2023
1 parent 5af69e1 commit e8ec547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modbus_sungrow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e8ec547

Please sign in to comment.