A relay can switch itself off after 30 seconds even if Home Assistant or Wi-Fi goes down in the meantime. The new shelly.command action passes that timer to the device itself, alongside commands for schedules, configuration and status that have no dedicated dashboard control.
Shay Levy adds support for first-generation devices and newer models, returning the device’s reply for use in an automation. The accompanying guide gives tested examples for a timed switch and an automatic shutoff setting.
Direct calls require administrator access; automations and scripts retain their normal access. Sleeping devices cannot receive these commands on demand, and factory-reset and Wi-Fi-reset commands are blocked.