Hello,
I want to display the remaining time of a timer, but…
I tried this :
type: custom:mushroom-chips-card
chips:
- type: back
- type: entity
entity: timer.countdown_streaming_camera_garagedeur
tap_action:
action: call-service
service: script.sensor_garagedeur_start_countdown_streaming
data: {}
target: {}
use_entity_picture: false
- type: template
entity: timer.countdown_streaming_camera_garagedeur
content: >-
{{ state_attr('timer.countdown_streaming_camera_garagedeur', 'remaining')
}}
tap_action:
action: call-service
service: script.sensor_garagedeur_start_countdown_streaming
data: {}
target: {}
The first gives me the state (“active/idle”), the second the duration of the timer.
This gives me what I want, but is not mushroom
type: entities
entities:
- entity: timer.countdown_streaming_camera_garagedeur
name: Streaming garage door