Expaso
7a2d7fdd19
Fixed PlatformIO Build on DEV ( #4422 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-13 15:43:52 +13: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
Adam Liddell
351ea04517
Fix use of dangling pointers in esp-idf MQTT backend ( #4239 )
...
fixes https://github.com/esphome/issues/issues/3406
2023-01-11 16:31:04 +13:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Franck Nijhof
d874626662
Add number device class support ( #4042 )
2022-11-18 08:01:28 +13:00
Jesse Hills
cb2d9e4bec
Mark mqtt as unavailable on rp2040 ( #4025 )
2022-11-14 13:29:53 +13:00
ShellAddicted
fe05d7aec1
Fix: Make MQTT over TLS actually work ( #3580 )
2022-06-20 11:17:58 +12:00
Samuel Sieb
c3da42516b
publish fan speed count for discovery ( #3537 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2022-06-09 15:27:04 +12:00
jimtng
4f57bf786b
Add mqtt.on_connect and mqtt.on_disconnect triggers ( #3520 )
2022-06-03 13:51:50 +12:00
Keilin Bickar
f0c890f160
Remove deprecated fan speeds ( #3397 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-19 12:50:44 +12:00
[pʲɵs]
6dabf24bf3
MQTT cover: send state even if position is available ( #3473 )
2022-05-16 15:35:27 +12:00
Maurice Makaay
44b68f140e
Select enhancement ( #3423 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-05-10 16:41:16 +12:00
Jesse Hills
047c18eac0
Add default object_id_generator for mqtt ( #3389 )
2022-04-14 11:25:31 +12:00
Martin
792108686c
Add mqtt for idf ( #2930 )
...
Co-authored-by: Flaviu Tamas <me@flaviutamas.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2022-04-04 11:07:20 +12:00
Jesse Hills
38ff66debd
Remove stray define ( #3260 )
2022-03-02 16:32:45 +13:00
Andrej Komelj
9826726a72
Implement MQTT discovery object_id generator ( #3114 )
2022-02-08 22:58:38 +13:00
Keilin Bickar
21803607e7
Add new Lock core component ( #2958 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-02-04 07:24:31 +13:00
Oxan van Leeuwen
80d03a631e
Force braces around multi-line statements ( #3094 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-25 08:56:36 +13:00
Oxan van Leeuwen
2a84db7f85
Refactor fan platform to resemble climate/cover platforms ( #2848 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: rob-deutsch <robzyb+altgithub@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-23 22:21:54 +13:00
VitaliyKurokhtin
8187a4bce9
Command retain option for MQTT component ( #3078 )
2022-01-23 21:05:37 +13:00
Oxan van Leeuwen
97681d142e
Enable readability-redundant-access-specifiers check ( #3096 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-23 20:47:22 +13:00
Oxan van Leeuwen
7da12a878f
Enable readability-redundant-member-init check ( #3097 )
2022-01-23 20:34:43 +13:00
Oxan van Leeuwen
7854522792
Enable readability-const-return-type check ( #3099 )
2022-01-23 20:28:00 +13:00
Jesse Hills
33f17f75a0
Upgrade ArduinoJson to 6.18.5 and migrate code ( #2844 )
2022-01-01 22:31:43 +13:00
Oxan van Leeuwen
4907e6f6d7
Fix MQTT button press action ( #2917 )
2021-12-21 08:19:20 +13:00
Jesse Hills
d9513e5ff2
Number mode ( #2838 )
2021-12-01 08:11:38 +13:00
puuu
b5a0e8b2c0
Implement unit_of_measurement for number component ( #2804 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-11-30 16:20:59 +01:00
Jesse Hills
b32b918936
Button device class ( #2835 )
2021-11-30 16:18:21 +01:00
Jesse Hills
b5639a6472
Add support for button entities ( #2824 )
2021-11-30 08:00:51 +13:00
Krzysztof Białek
515519bc87
Provide an option to select MQTT unique_id generator ( #2701 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2021-11-15 15:49:18 +01:00
Oxan van Leeuwen
4d43396835
Clean-up string sanitation helpers ( #2660 )
2021-11-10 19:42:41 +01:00
Oxan van Leeuwen
15f9677d33
Introduce parse_number() helper function ( #2659 )
2021-11-11 07:15:06 +13:00
Paul Monigatti
a17a6d5346
Add HA Entity Category support to MQTT ( #2678 )
2021-11-08 10:03:30 +01:00
Paul Monigatti
331a3ac387
Add option to use MQTT abbreviations ( #2641 )
2021-10-31 15:34:08 +13:00
Otto Winter
6db9d1122f
Fix compiler warnings and update platformio line filter ( #2607 )
2021-10-22 16:52:43 +02:00
Otto Winter
83bef85415
Add owner to all libraries used ( #2604 )
2021-10-22 14:14:14 +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
definitio
c092d92d45
Fix cover state ( #2468 )
2021-10-10 10:31:15 +02:00
wifwucite
fd836e982e
Mqtt topics to support numeric fan speed ( #1859 )
...
* numeric speed added
* when dumping config for MQTT components log a note when skipped due to is_internal
* added new topics to paython code validation/generation
* reformatted with black
* formatting corrected
* use dump_config_ mechanism to skip internal components
* use dump_config_ mechanism to skip internal components
* style issues resolved
* do_dump_config removed
* formatting fixed
* formatting fixed
* Drop parent dump_config() calls
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2021-09-22 13:42:58 +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
1e8e471dec
Introduce call_dump_config() indirection ( #2325 )
2021-09-20 11:16:31 +02:00
dependabot[bot]
dbb195691b
Bump pylint from 2.10.2 to 2.11.1 ( #2334 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-19 19:22:28 +02:00
Oxan van Leeuwen
c6dc8a11e2
Add namespace to all PlatformIO library references ( #2296 )
...
* Remove unnecessary duplication in platformio.ini
* Add namespace to all platformio library references
* Add cmake-build-* to gitignore
They're generated by the CLion add-on for each PlatformIO environment.
Listing them all separately seems nonsensical.
2021-09-15 19:01:31 +02:00
Oxan van Leeuwen
e6b0a0ca2b
Clean-up sensor integration ( #2275 )
2021-09-13 18:58:49 +02:00
Oxan van Leeuwen
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:11:27 +02:00
Otto Winter
a4867a00ea
Activate owning-memory clang-tidy check ( #1891 )
...
* Activate owning-memory clang-tidy check
* Lint
* Lint
* Fix issue with new NfcTag constructor
* Update pointers for number and select
* Add back the NOLINT to display buffer
* Fix merge
* DSMR fixes
* Nextion fixes
* Fix pipsolar
* Fix lwip socket
* Format
* Change socket fix
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-13 11:31:02 +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
e18dfdd656
Suppress excessive warnings about deprecated Fan interfaces ( #2270 )
2021-09-13 09:39:18 +02:00
Oxan van Leeuwen
0cd24c629a
Compatibility with clang-tidy v14 ( #2272 )
2021-09-13 09:35:55 +02:00