diff --git a/source/_integrations/harmony.markdown b/source/_integrations/harmony.markdown index ce2a268574b..5f403dbc461 100644 --- a/source/_integrations/harmony.markdown +++ b/source/_integrations/harmony.markdown @@ -185,15 +185,14 @@ Template sensors can be utilized to display current activity in the frontend. {% raw %} ```yaml -sensor: - - platform: template - sensors: - family_room: - value_template: '{{ state_attr("remote.family_room", "current_activity") }}' - friendly_name: "Family Room" - bedroom: - value_template: '{{ state_attr("remote.bedroom", "current_activity") }}' - friendly_name: "bedroom" +template: + - sensor: + - name: 'Family Room Harmony Remote' + state: > + {{ state_attr('remote.family_room', 'current_activity') }} + - name: 'Bedroom Harmony Remote' + state: > + {{ state_attr('remote.bedroom', 'current_activity') }} ``` {% endraw %}