Added Autodiscovery and refactoring

This commit is contained in:
2024-08-17 11:16:31 +02:00
parent 06da8f5b97
commit 891c326195
8 changed files with 256 additions and 61 deletions

View File

@@ -4,10 +4,14 @@ mqtt:
username: "username"
password: "password"
clientid: "test"
prefix: "luminea2mqtt"
autodiscover:
enabled: true
topic: homeassistant
devices:
- id: "sqy709956ply4inkx6ac87"
key: "xxxxxxxxxxxxxxxx"
topic: "tuya/device1"
friendlyname: "device1"
refresh: 30
reconnect: 10
type: luminea_nx_4458