8428c702f7
use map to find sensors
2024-05-19 11:50:19 +02:00
13bbb5ffc4
use better names for constructing secondary entities
2024-05-19 01:33:11 +02:00
3e87d60434
use reference when building DeviceConfig
2024-05-19 01:31:41 +02:00
07c2859400
allow creation of DeviceConfig only with factory method
2024-05-18 22:44:36 +02:00
186678cffc
use blue led to indicate mqtt connectivity
2024-05-18 09:45:17 +02:00
96b420b258
move all devices creattion in devices.h
2024-05-17 18:01:12 +02:00
26b11129a8
destroy container along with the builders
2024-05-17 09:26:35 +02:00
4b4f543117
Merge branch 'refactor' into huzzah
2024-05-16 17:27:24 +02:00
0cdf58d99b
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
0d574b8da1
return string when building protocol ids - avoid unused pointers
2024-05-16 10:26:15 +02:00
ae95b123ae
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
2d71abfaeb
use same Builder for sensor specific fields
2024-05-16 10:05:24 +02:00
c88e832fbe
cleanup
2024-05-16 09:53:55 +02:00
e9e30ae025
move config publishing inside Component
2024-05-15 10:33:09 +02:00
5ffe88ee82
destroy builders
2024-05-15 10:28:39 +02:00
6cc142fa1d
unify execution of containers inside the list
2024-05-15 10:28:35 +02:00
3a3a8f5801
unify Commands and use map to trigger onCommand
2024-05-15 08:04:21 +02:00
6ccdd24e62
use Builder instead of EntityConfig
2024-05-15 00:53:38 +02:00
af5be1190a
disable retain for command mesages
2024-05-14 08:05:08 +02:00
1ecd5bbdc6
move area completely under DeviceConfig
2024-05-09 13:46:22 +02:00
d822e3438c
add oil tank sensor
2024-05-09 11:52:40 +02:00
2ef559969c
added oil tank room sensor
2024-05-04 21:46:39 +02:00
1fd3f1ae02
use sensor name for the device
2024-05-03 17:19:52 +02:00
25d08aab85
publish sensor configuration
2024-05-03 13:56:29 +02:00
8d9738492d
fix random resets by initializing all pointers with nullptr
2024-05-03 13:55:19 +02:00
88b8ef9c01
publish config from list of all components
2024-05-03 13:50:13 +02:00
3cbedd3d99
separate generic Ha components - could be used in a library
2024-05-03 09:22:53 +02:00
a22f9eb2e0
extract StateConfig into a dedicated class
2024-05-02 21:24:41 +02:00
9796407ce8
separate Ha generic components from gateway specific ones
2024-05-02 19:40:04 +02:00
3b95a40728
publish cleanup config on OTA updates
2024-05-02 18:56:52 +02:00
35c0adcee5
make publisher accesible to entire Ha namespace
2024-05-02 12:44:30 +02:00
e48c75796b
unify switches under same list and get rid of Builder
2024-04-30 23:08:22 +02:00
a1378dc122
fix on/off all switches
2024-04-30 21:27:02 +02:00
3ceba3139b
add support for reacting on switching on/off all EasyHome switches
2024-04-30 16:23:54 +02:00
7403062837
support state for EasyHome switches
2024-04-30 16:22:55 +02:00
b6322de46e
make area optional and add EasyHome switches
2024-04-30 09:43:45 +02:00
e4bf6a1beb
add mqtt with ha components
...
configure Pollin switches
2024-04-30 08:08:38 +02:00