20 Commits

Author SHA1 Message Date
b57fb49a4d use rc-switch library for ringing the doorbell 2024-05-19 18:13:59 +02:00
1d99c73bdf use map to find sensors 2024-05-19 11:50:19 +02:00
6733a6678a use better names for constructing secondary entities 2024-05-19 01:33:11 +02:00
8282af3992 use reference when building DeviceConfig 2024-05-19 01:31:41 +02:00
2706b6f1a5 allow creation of DeviceConfig only with factory method 2024-05-18 22:44:36 +02:00
e9c404a4d5 add doorbell protocol 2024-05-18 21:17:23 +02:00
22add7aea8 move all devices creattion in devices.h 2024-05-17 18:01:12 +02:00
3d7895e916 fine tunning:
- use namespace for oil tank builders
- use factory method for creating DeviceConfig
- use C's strcmp for comparing strings
- split parsing of incoming RCSwitch states
2024-05-16 11:14:47 +02:00
77594581ff return string when building protocol ids - avoid unused pointers 2024-05-16 10:26:15 +02:00
b5e13c9ba2 uniqueId, configTopic & commandTopic:
- for sensors, use deviceClass as part of uniqueId & configTopic
- use same commandTopic for all Commands - with /set at the end
2024-05-16 10:13:36 +02:00
6ebe06344c use same Builder for sensor specific fields 2024-05-16 10:05:24 +02:00
7b53efe1ca use Builder instead of EntityConfig 2024-05-15 00:53:38 +02:00
333fc93a9f move area completely under DeviceConfig 2024-05-09 13:46:22 +02:00
965e158b6a add oil tank sensor 2024-05-09 11:52:40 +02:00
6fd9bdc8ce added oil tank room sensor 2024-05-04 21:46:39 +02:00
18450a6883 fix on/off map insertion 2024-05-04 16:17:43 +02:00
f6fed5a115 publish sensor configuration 2024-05-03 13:56:29 +02:00
1e69ecd9c9 publish config from list of all components 2024-05-03 13:50:13 +02:00
86b2d75ea6 separate generic Ha components - could be used in a library 2024-05-03 09:22:53 +02:00
eace33902b separate Ha generic components from gateway specific ones 2024-05-02 19:40:04 +02:00