Commit Graph

32 Commits

Author SHA1 Message Date
ElVit fbe604523a Added support for extra query (fixes #11) 2025-07-17 20:23:33 +02:00
ElVit 3753b3d475 Added support for extra query (fixes #11) 2025-07-16 16:08:09 +02:00
ElVit 18b8ed0f4a Added options "min_temperature", "max_temperature" and "temperature_step" to the climate component.
Added option "min_value", "max_value" and "step" to the number component.
Added option "cool_mode" to select and climate component and removed it from panasonic_heatpump component.
Removed function "set_traits", because the user can now set its own limits in yaml.
2025-06-24 14:10:53 +02:00
ElVit 472d36bf72 Added climate entities.
Renamed 'raw_topics' into 'traits_settings'.
2025-06-20 13:11:50 +02:00
ElVit f1c31b651e Added datatype uint8_t to all enums 2025-06-20 08:51:37 +02:00
ElVit 423ca2dbc8 Added "has_state()" check in "publish_new_state()" functions.
Save raw_topics in a map for setting traits.
2025-06-12 20:43:42 +02:00
ElVit 641df6b42a Added empty check in function "publish_new_state()".
Moved code from functions "publish_...()" to function "loop()".
2025-06-11 09:52:04 +02:00
ElVit f9f29a635d Refactored Code: Moved most code from main component class to entity component classes. Set traits for select entities. 2025-06-10 20:08:35 +02:00
ElVit 7ac5119fbd Check bytes before publish state.
Renamed set16_1 to set16_9.
Renamed some states e. g. OperationMode (top4/set9).
Added functions to set only high or low nibble of a byte in a command message.
2025-06-06 13:05:02 +02:00
ElVit bf59e203d2 Changed setup_priority to DATA. Replaced trigger_request_ with RequestType::NONE. Updated number min/max value change mechanism. 2025-06-02 20:29:43 +02:00
ElVit 7df705290e Implementing set_number_min_max_value 2025-06-02 10:04:02 +02:00
ElVit a09038bc8d Fixed issue with min/max values of number entities 2025-05-30 19:59:33 +02:00
ElVit 40930dbf06 Use switch-case in loop function. Added function to change min/max values of some number entities. 2025-05-30 00:05:33 +02:00
ElVit e9d1180cc8 Move log_uart_hex() to helper class.
Use state machine to lower loop time.
2025-05-22 22:34:21 +02:00
ElVit 0fa40dab47 Added function getResponseByte for lambda use 2025-02-21 20:45:37 +01:00
ElVit 190374dde7 Made member 'response_message_' public for use in lambda. Converted variable 'chunkSize' to #define. 2025-02-20 10:43:10 +01:00
ElVit 4d8a51c12e Used constexpr for KnownModels. All numbers for temperature curve zone 1 or 2 are set at once. 2025-02-19 17:21:13 +01:00
ElVit 2194f3edf7 Added initial response 2025-02-17 20:20:17 +01:00
ElVit a869f41672 improved log_uart_hex 2025-02-16 11:38:15 +01:00
ElVit b148b465f4 Added 10ms delay after log msg. Accept also init message in read_response and read_request. 2025-02-15 22:13:18 +01:00
ElVit c3e9f30b1f renamed some functions, splitted decode_response in multiple functions 2025-02-13 19:27:40 +01:00
ElVit c25b2a4281 Added PollingComponent 2025-02-07 21:19:22 +01:00
ElVit 9e8ae57d33 Added UARTDevice, removed entity_category=ENTITY_CATEGORY_CONFIG, fixed some controls 2025-02-04 15:17:37 +01:00
ElVit 772860d353 fixed comile error caused by switch::Switch. Renamed getBoolState to getBinaryState 2025-02-03 14:09:36 +01:00
ElVit bcfcfd26f5 panasonic heatpump: removed buttons, updated numbers, selects and switches 2025-02-03 13:05:59 +01:00
ElVit 9597c1c48b panasonic_heatpump: added missing sensor, added options log_uart_msg and polling_time 2025-02-02 15:40:10 +01:00
ElVit 1e604ec119 Added button, updated commands 2025-01-31 23:24:50 +01:00
ElVit c8ba88a7a1 Added number, select and switch to panasonic_heatpump 2025-01-31 16:47:08 +01:00
ElVit 2544d8d630 Added sensors to dump_config 2025-01-30 11:25:43 +01:00
ElVit 07e4f2cd8e Minor changes 2025-01-30 08:34:03 +01:00
ElVit 5db8924b9d Added icons and device classes. Added top92. 2025-01-28 08:29:48 +01:00
ElVit 6419fd80a7 Added component panasonic heatpump 2025-01-27 17:01:29 +01:00