System to avoid flooding with original sonoff bridge fw and detectors

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


  • alias: Allagamento Lavanderia
    platform: event
    event_type: sonoff.remote
    name: Lavanderia # button/sensor name in eWeLink application
    service: homeassistant.toggle
    entity_id: switch.sonoff_xxxxxxxxxx