Add switch for Shelly script (#35202)

* feat: add switch for Shelly script

* chore: apply review comment

* Update source/_integrations/shelly.markdown

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>

---------

Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
This commit is contained in:
Simone Chemelli 2024-10-13 15:15:36 +02:00 committed by GitHub
parent 073590d9c8
commit 8a9f78b184
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -330,6 +330,10 @@ The integration supports the following virtual components:
- `text` in `field` mode, for which a `text` platform entity is created
- `text` in `label` mode, for which a `sensor` platform entity is created
## Scripts (generation 2 and 3)
For each device script, the integration creates a `switch` entity that allows you to control the script. These entities are disabled by default.
## Additional info
Shelly devices rely on [SNTP](https://en.wikipedia.org/wiki/Network_Time_Protocol#SNTP) for features like power measurement.