Hi everyone. I am a novice and I wanted to ask you for help with the application in question. I developed this automation that turns on a lamp as a test when the sensor detects water on the floor. I would like to display the dry or wet status of the sensors on a card with icons for each sensor and possibly display the alarm timestamp. Thanks for the tip and good evening
automation:
- alias: Allagamento Lavanderia
trigger:
platform: event
event_type: sonoff.remote
event_data:
name: Lavanderia # button/sensor name in eWeLink application
action:
service: homeassistant.toggle
entity_id: switch.sonoff_xxxxxxxxxx