diff --git a/dashboards/views/network.yaml b/dashboards/views/network.yaml index 462104d7..44862e1e 100644 --- a/dashboards/views/network.yaml +++ b/dashboards/views/network.yaml @@ -70,16 +70,20 @@ entities: - type: "custom:template-entity-row" entity: "binary_sensor.ground_floor_heat_pump_status" - secondary: "{{ state_translated('sensor.ground_floor_heat_pump_uptime') }}" + secondary: "{{ time_since('sensor.ground_floor_heat_pump_uptime', 1) }}" + active: "{{ is_state('this.entity_id ', 'on') }}" - type: "custom:template-entity-row" entity: "binary_sensor.kitchen_proxy_status" - secondary: "{{ state_translated('sensor.kitchen_proxy_uptime') }}" + secondary: "{{ time_since('sensor.kitchen_proxy_uptime', 1) }}" + active: "{{ is_state('this.entity_id ', 'on') }}" - type: "custom:template-entity-row" entity: "binary_sensor.lounge_proxy_status" - secondary: "{{ state_translated('sensor.lounge_proxy_uptime') }}" + secondary: "{{ time_since('sensor.lounge_proxy_uptime', 1) }}" + active: "{{ is_state('this.entity_id ', 'on') }}" - type: "custom:template-entity-row" entity: "binary_sensor.office_proxy_status" - secondary: "{{ state_translated('sensor.office_proxy_uptime') }}" + secondary: "{{ time_since('sensor.office_proxy_uptime', 1) }}" + active: "{{ is_state('this.entity_id ', 'on') }}" - type: entities show_header_toggle: false