Publish device name only at boot and api connection

This commit is contained in:
Edward Firmo
2024-12-20 21:00:24 +01:00
parent e1b8469aa5
commit 55cde35d31
2 changed files with 9 additions and 0 deletions

View File

@@ -13,6 +13,9 @@
---
api:
id: api_server
on_client_connected:
then:
- script.execute: publish_device_info
script:
- id: !extend button_action