From c9e3fc6de122382cbdb5dd9706cf87a17b11adb6 Mon Sep 17 00:00:00 2001 From: SNoof85 Date: Fri, 12 Nov 2021 01:47:35 +0100 Subject: [PATCH] Update izone.markdown (#20270) --- source/_integrations/izone.markdown | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/source/_integrations/izone.markdown b/source/_integrations/izone.markdown index 819c9ddb346..3e7c998cd4e 100644 --- a/source/_integrations/izone.markdown +++ b/source/_integrations/izone.markdown @@ -75,20 +75,16 @@ along with the supply temperature (use the ID of your unit): ```yaml # Example configuration.yaml entry to create sensors # from the izone controller state attributes -sensor: - - platform: template - sensors: - control_zone: - friendly_name: "Control zone" - value_template: "{{ state_attr('climate.izone_controller_0000XXXXX','control_zone_name') }}" - control_zone_target: - friendly_name: "Target temperature" - value_template: "{{ state_attr('climate.izone_controller_0000XXXXX','control_zone_setpoint') }}" - unit_of_measurement: "°C" - temperature_supply: - friendly_name: "Supply temperature" - value_template: "{{ state_attr('climate.izone_controller_0000XXXXX','supply_temperature') }}" - unit_of_measurement: "°C" +template: + - sensor: + - name: "Control zone" + state: "{{ state_attr('climate.izone_controller_0000XXXXX','control_zone_name') }}" + - name: "Target temperature" + state: "{{ state_attr('climate.izone_controller_0000XXXXX','control_zone_setpoint') }}" + unit_of_measurement: "°C" + - name : "Supply temperature" + state: "{{ state_attr('climate.izone_controller_0000XXXXX','supply_temperature') }}" + unit_of_measurement: "°C" ``` {% endraw %}