Sergey Dudanov
a120a455bf
climate triggers Climate and ClimateCall references ( #5028 )
2023-07-31 07:52:01 +12:00
Jesse Hills
c5efaa1c00
Remove climate legacy away flags ( #4744 )
2023-04-27 13:11:32 +12:00
Fabian
cb2fcaa9b1
EntityBase
Name can stay in flash. (#4594 )
...
* `EntityBase`can stay in flash.
* Trying to please the CI.
---------
Co-authored-by: Your Name <you@example.com>
2023-03-28 06:38:56 +00:00
Nathaniel Wesley Filardo
0de5808ed2
climate: brown paper bag fix for on_configure ( #4573 )
...
I forgot this hunk in https://github.com/esphome/esphome/pull/4511 .
I'm sorry for the noise.
2023-03-19 18:54:00 +00:00
Nathaniel Wesley Filardo
05ab49a615
climate: add on_control callbacks ( #4511 )
...
This lets downstream components respond to climate configuration
changes, which take place through ClimateCall objects, without also
being notified every time the state changes, which happens every time
the input sensor announces a new value.
FIXES https://github.com/esphome/feature-requests/issues/2136
2023-03-07 04:19:49 +00:00
Jesse Hills
0e1d018ce3
Allow specifying target and current visual steps for climate ( #4440 )
...
* Allow specifying target and current visual steps for climate
* Fixes
* format
* format
2023-02-20 22:22:43 +00:00
jmichiel
7e1e799b3a
add MQTT preset support for Climate components ( #4379 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Michiel, Jeroen <jeroen.michiel@teledyneflir.com>
2023-02-09 12:46:01 +13:00
Michael Muré
dfafc41ce6
climate: add support for quiet fan mode ( #3609 )
2023-02-09 11:28:16 +13:00
Jesse Hills
555bba7698
Don't convert climate temperature step ( #4082 )
2022-11-24 16:00:09 +13:00
Jesse Hills
ef26677b67
Always use brackets around single log macros ( #4072 )
2022-11-23 10:32:51 +13:00
anatoly-savchenkov
01a4443b6c
Webui small fixes ( #3713 )
2022-08-15 10:28:29 +12:00
Maurice Makaay
0d1028be2e
Cleanup deprecated EntityBase::hash_base() ( #3525 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-06-08 09:13:11 +12:00
Michael Davidson
1c873e0034
Make custom_fan and custom_preset templatable as per documentation ( #3330 )
2022-05-12 16:54:45 +12:00
Rai-Rai
59f67796dc
Fixed wrong comment ( #3286 )
2022-03-14 08:00:00 +13:00
wilberforce
3b8ca80900
Webserver v2 ( #2688 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-03-08 15:02:24 +13:00
Otto Winter
0c1520dd9c
Fix ESP8266 climate memaccess warning ( #3226 )
2022-02-19 14:11:45 +01:00
Oxan van Leeuwen
7854522792
Enable readability-const-return-type check ( #3099 )
2022-01-23 20:28:00 +13:00
definitio
f50e40e0b8
Fix custom mode_state_topic ( #2827 )
2021-11-29 18:09:09 +01:00
Sergey V. DUDANOV
aae63a7ff3
Add climate on_state trigger ( #2707 )
2021-11-13 15:42:15 +01:00
Otto Winter
6db9d1122f
Fix compiler warnings and update platformio line filter ( #2607 )
2021-10-22 16:52:43 +02:00
definitio
42739f0b22
Add configuration for climate topics ( #2473 )
2021-10-10 17:55:22 +02:00
Paul Monigatti
471b82f727
EntityBase Refactor ( #2418 )
...
* Renamed Nameable to EntityBase (cpp)
* Renamed NAMEABLE_SCHEMA to ENTITY_BASE_SCHEMA (Python)
* Renamed cg.Nameable to cg.EntityBase (Python)
* Remove redundant use of CONF_NAME from esp32_touch
* Remove redundant use of CONF_NAME from mcp3008
* Updated test
* Moved EntityBase from Component.h and Component.cpp
* Added icon property to EntityBase
* Added CONF_ICON to ENTITY_BASE_SCHEMA and added setup_entity function to cpp_helpers
* Added MQTT component getters for icon and disabled_by_default
* Lint
* Removed icon field from MQTT components
* Code generation now uses setup_entity to setENTITY_BASE_SCHEMA fields
* Removed unused import
* Added cstdint include
* Optimisation: don't set icon if it is empty
* Remove icon from NumberTraits and SelectTraits
* Removed unused import
* Integration and Total Daily Energy sensors now inherit icons from their parents during code generation
* Minor comment correction
* Removed redundant icon-handling code from sensor, switch, and text_sensor
* Update esphome/components/tsl2591/tsl2591.h
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
* Added icon property to binary sensor, climate, cover, and fan component tests
* Added icons for Binary Sensor, Climate, Cover, Fan, and Light to API
* Consolidated EntityBase fields in MQTT components
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2021-10-10 10:37:05 +02:00
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-20 11:47:51 +02:00
Oxan van Leeuwen
d594a6fcbc
Store strings only used for logging in flash ( #2274 )
...
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 09:48:52 +02:00
Oxan van Leeuwen
f31e0532c4
Untangle core headers (part 1) ( #2276 )
2021-09-13 09:33:29 +02:00
Sergey V. DUDANOV
4e120a291e
Midea support v2 ( #2188 )
2021-09-09 09:10:02 +12:00
Jesse Hills
93796491af
Allow entities to be disabled by default in HA ( #2113 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-08-10 13:45:31 +12:00
Oxan van Leeuwen
20f7eb7327
Add version argument to ESPDEPRECATED macro ( #2116 )
2021-08-04 10:43:01 +12:00
Otto Winter
2a9e3d84fd
Fix climate restore schema changed resulting in invalid restore ( #2068 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-07-26 15:19:50 +02:00
Oxan van Leeuwen
1f5c79bd17
Fix deprecation message for old climate swing mode methods ( #2003 )
2021-07-11 16:51:24 +12:00
Otto Winter
7ae611256a
Improve climate mode code docs ( #1995 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-07-10 11:23:04 +02:00
Michael Gorven
294ba1fca7
Support custom fan modes in mqtt_climate ( #1989 )
...
Co-authored-by: Michael Gorven <michael@gorven.za.net>
2021-07-09 23:25:27 +02:00
Otto Winter
d0859a7d33
Add climate preset NONE again ( #1951 )
2021-06-23 20:25:19 +02:00
Otto Winter
871c0ee2a5
Rework climate traits ( #1941 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-21 21:17:01 +02:00
Jesse Hills
b6011b9353
Fix bad climate control enum ( #1942 )
2021-06-21 14:17:38 +12:00
Jesse Hills
dca1c0f160
Replace CLIMATE_MODE_AUTO with CLIMATE_MODE_HEAT_COOL in most cases ( #1933 )
2021-06-18 11:48:40 +12:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Otto Winter
360effcb72
Activate some clang-tidy checks ( #1884 )
2021-06-10 13:04:40 +02:00
Lumpusz
ebadaa9660
Add preset, custom_preset and custom_fan_mode support to climate ( #1471 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-04 22:04:54 +12:00
Otto Winter
aebad04c0b
Convert core components to async-def coroutine syntax ( #1658 )
...
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-05-23 22:10:30 +02:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
Otto Winter
4996967c79
Add CODEOWNERS mechanism ( #1199 )
2020-07-25 15:57:18 +02:00
Daniel Kucera
fe89dcdc08
added idle action for climate ( #859 )
...
* added idle
* more clear state description
* Also add drying/fan
Putting it in this PR because it will be put in the same aioesphomeapi release anyway.
* Update bang_bang for idle action
Co-authored-by: root <root@mail.danman.eu>
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-11-26 17:56:04 +01:00
Guillermo Ruffino
1814e4a46b
Add climate dry fan ( #845 )
...
* add climate dry fan
* clang-format
* updates, add swing mode, add back compat with old ha
* revert client-config add swing
* sort const.py
* fix missing retur
2019-11-16 16:34:11 +01:00
Otto Winter
8ff742d9ab
Implement more dump_configs ( #791 )
2019-10-23 14:43:41 +02:00
Marcel van der Veldt
72d6471ab8
add support for climate action ( #720 )
...
* add support for climate action:
Following hass implementation of climate, action represents the current action the climate device is perfoming, e.g. cooling or heating
fix bang_bang climate:
make sure that the thresholds are always respected.
fixes the issue where the component would just keep on heating, regardless of the temperature range
* Updates
- Use dedicated enum for action (otherwise it gets confusing because "auto" is not a valid action)
- Add field to tell HA that action is supported
- Revert semantic changes in bang_bang
* Conditional print
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-10-18 10:39:14 +02:00
Otto Winter
bd45f6bd8e
Register components properly
2019-05-24 16:20:28 +02:00
Otto Winter
8be444a25e
Moar Custom platforms
2019-05-15 10:55:35 +02:00
puuu
b7afb8c887
Make Climate component work over mqtt ( #535 )
...
* Fix climate component over MQTT
* Use climate_mode_to_string() in send_discovery()
* remove superfluous mqtt binding
2019-05-13 11:51:22 +02:00
Otto Winter
766f6c045d
Updates
2019-04-24 23:49:02 +02:00