510a378a5e
add Number, refactor StateConfig and add support for restoring state at startup
2024-05-29 16:13:01 +02:00
c03c3d03fd
decouple mqtt:
...
- register onConnected and onDisconnected callbacks
- allow optional Scheduler
- publishInit is independent on Scheduler
2024-05-22 13:42:52 +02:00
4693969aff
reorganize platformio.ini configuration
2024-05-22 00:04:21 +02:00
ddbefdae5d
use blue led to indicate mqtt connectivity
2024-05-18 09:45:17 +02:00
22add7aea8
move all devices creattion in devices.h
2024-05-17 18:01:12 +02:00
4b3ed383d8
destroy container along with the builders
2024-05-17 09:26:35 +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
1b438fb141
move config publishing inside Component
2024-05-15 10:33:09 +02:00
f2e3e1940e
destroy builders
2024-05-15 10:28:39 +02:00
6a287007d7
unify execution of containers inside the list
2024-05-15 10:28:35 +02:00
ae525d7e15
unify Commands and use map to trigger onCommand
2024-05-15 08:04:21 +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
7a6caf6afe
use sensor name for the device
2024-05-03 17:19:52 +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
551c1300a6
publish cleanup config on OTA updates
2024-05-02 18:56:52 +02:00
071e363c14
make publisher accesible to entire Ha namespace
2024-05-02 12:44:30 +02:00
6b37d61b5c
unify switches under same list and get rid of Builder
2024-04-30 23:08:22 +02:00
a9d66e29e3
fix on/off all switches
2024-04-30 21:27:02 +02:00
aaeb0a85e6
add support for reacting on switching on/off all EasyHome switches
2024-04-30 16:23:54 +02:00
9611b2c564
support state for EasyHome switches
2024-04-30 16:22:55 +02:00
41e2e1359a
make area optional and add EasyHome switches
2024-04-30 09:43:45 +02:00
3dcfc3e5ba
add mqtt with ha components
...
configure Pollin switches
2024-04-30 08:08:38 +02:00