AppDaemon: how to create widget which call a HA automation?


I have an automation (automation.turn_off_dining_room_light_3_minutes_after_last_movement) what I would like to enable and disable from my tablet’s dashboard (AppDaemon).

I have two automations in Home Assistant (automation.action_turn_dining_light_automation_on, automation.action_turn_dining_light_automation_off) for enabling and disabling the first one.

Could you help me how can I create an AppDaemon dashboard element for enable and disable the automation?