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
Fabian
3773c385c7
Ensure component is ready before update. ( #4523 )
...
Co-authored-by: Your Name <you@example.com>
2023-03-07 04:16:42 +00:00
dependabot[bot]
3227ef4bca
Bump aioesphomeapi from 13.4.0 to 13.5.0 ( #4525 )
...
Bumps [aioesphomeapi](https://github.com/esphome/aioesphomeapi ) from 13.4.0 to 13.5.0.
- [Release notes](https://github.com/esphome/aioesphomeapi/releases )
- [Commits](https://github.com/esphome/aioesphomeapi/compare/v13.4.0...v13.5.0 )
---
updated-dependencies:
- dependency-name: aioesphomeapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 04:07:15 +00:00
Jesse Hills
5a07e8d32b
Bump docker dependencies ( #4526 )
...
* Bump curl to 7.74.0-1.3+deb11u7
* Bump docker base images
2023-03-07 04:06:42 +00:00
Fredrik Gustafsson
29571a1acd
implement pairing for bluetooth proxy ( #4475 )
...
* default to just-works encryption
This patch will turn on encryption when making active connections in order to comply with just-works BLE encryption.
* Revert "default to just-works encryption"
This reverts commit 05bc9e9f1c
.
* implement pair method
* adhere to clang formatter
* fix oopsie
* bump bluetooth_proxy_version
* add auth callback
* generate new protos
* fix another oopsie
* add pairing status to connection
* clear paired on connect()
* lint
* add unpair ("forget") ble method
* compile protos
* fix oopsie
* add missing unpairing method
* add unpairing
* fix get_paired return type
* remove unused memcpy
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* change to is_paired
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update bluetooth_proxy.cpp
* actually add missing method
* send auth cb on set_encryption failure
* cleanup from havin the worst test setup
* lint
* match auth events to bd_addr
* add second addr check to auth cb
* add addr check to third auth cb
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-06 18:04:35 +00:00
Oxan van Leeuwen
b8538c2c12
Fix typo ( #4515 )
2023-03-05 23:02:36 +00:00
tljuniper
7466773ac8
substitutions: Don't warn when passwords look like a substitution ( #4161 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-05 20:28:46 +00:00
Jesse Hills
b8ca40170e
Remove idf components before checking if any in config ( #4506 )
...
* Remove idf components before checking if any in config
* Fix bug with no refresh time specified
2023-03-05 20:17:32 +00:00
Aliasghar Dashkhaneh
bd86a0ac3b
Update __init__.py ( #4514 )
...
In some Sony remote codes, the **data** is more than 16 bits.
2023-03-05 18:45:54 +00:00
Jesse Hills
df3f13ded8
Add int16 to codegen ( #4507 )
2023-03-04 07:19:51 +00:00
Jesse Hills
a428e2b689
Fix copy-pasta mistake ( #4492 )
2023-02-27 01:20:56 +00:00
GitforZhangXL
86407b9f6f
Change variable "skip_updates" and "skip_updates_counter" type from "uint8_t" to "uint16_t" ( #4487 )
...
* change 'skip_updates'from 'uint8' to 'uint16_t'
* Delete modbus_controller_fix.md
* Update modbus_controller.h
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 22:35:00 +00:00
Jesse Hills
eceb79ceab
Make test3 use huge_app ( #4488 )
2023-02-26 22:34:51 +00:00
Oxan van Leeuwen
43fb68f8a0
Fix parallel invocations of repeat action ( #4480 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 22:23:04 +00:00
Jesse Hills
14e7b8a1ef
Run CI on merge group ( #4489 )
2023-02-26 20:13:45 +00:00
Fabian
62459a8ae1
Move Font glyphs to SPI RAM. ( #4485 )
...
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 18:45:30 +00:00
Oxan van Leeuwen
86c0e6114f
Lock scheduler items while modifying them ( #4410 )
...
* Cosmetic fixes to scheduler code
* Add generic Mutex API
* Lock scheduler items while modifying them
* Always defer MQTT callbacks on Arduino
2023-02-26 18:43:08 +00:00
Fabian
1a9141877d
use same heap_caps_malloc
parameter as ps_malloc
. ( #4484 )
...
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-26 18:42:29 +00:00
Jesse Hills
6ec18fc630
Update esp32 esp-idf dev and latest version numbers ( #4479 )
2023-02-26 18:25:22 +00:00
Andreas Hergert
4d674392e8
Add energy to pzemdc ( #3626 )
...
* added energy to pzemdc
* fixed calculation
* added test
* moved tests
---------
Co-authored-by: Andreas Hergert <andreas.hergert@otrs.com>
2023-02-23 17:38:34 +00:00
J. Nick Koston
6704b2cedf
Bump esp-idf to 4.4.3 via platformio/espressif32 @ 5.3.0 ( #4254 )
...
* Bump esp-idf to 3.4.3 via platformio/espressif32 @ 5.3.0
The new version appears to improve the stability of
BLE + WiFi
* bump recommended version as well
2023-02-23 02:08:06 +00:00
Yaroslav Heriatovych
fe4fb5f1ac
Add Haier climate component ( #4001 )
...
* Basic functionality works
* Cleanup
* Add tests
* Separate header
* Fix send_data_
* Formatting fix
* Add __init__.py
* Fix type
* Add codeowners
* Rename supported_swing_modes
* Use multiple swing modes, same as midea platform
* Add CLIMATE_FAN_QUIET handler
* PR fixes
2023-02-23 02:05:33 +00:00
Samuel Sieb
350d4e5071
add kuntze component ( #4411 )
...
* add kuntze component
* fixes
* more lint
---------
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-02-23 01:31:35 +00:00
Jesse Hills
23f47d0ad2
Initial stab at importing idf components ( #4000 )
...
* Initial stab at importing idf components
* Handle repo with multiple components
Allow components directly from yaml
* Actually use the refresh config var
* Update esphome/components/esp32/__init__.py
2023-02-23 01:22:39 +00:00
Jesse Hills
f98d93efa8
Fix multiple remote_receivers with triggers ( #4477 )
2023-02-23 00:38:45 +00:00
Shreyas Karnik
91e037346b
add person sensor (SEN21231) from usefulsensors ( #4454 )
...
* add person sensor (SEN21231) from usefulsensors
* add person sensor (SEN21231) from usefulsensors
* change file mode
* fix tests
* fix tests
* rollback un-intended changes
* Update esphome/components/sen21231/sen21231.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.h
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* remove unused import
* Update esphome/components/sen21231/sen21231.h
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sensor.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.h
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Update esphome/components/sen21231/sen21231.h
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* remove unused import
* Update sen21231.h
* lint changes
* linting
* linting
* Update sen21231.h
* Update sen21231.cpp linting
* linting fixes
* fix codeowners
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-02-23 00:37:23 +00:00
Samuel Sieb
8e1430243e
fix parity ( #4476 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-02-22 23:40:20 +00:00
Keith Burzinski
98b3d294aa
Sprinkler "v2" updates ( #4159 )
...
* Add standby switch
* Add support for arbitrary run duration in start_single_valve action
* Add divider feature
* Allow zero multiplier
* Fixes for #3740 , misc. cleanup and polishing
* Integrate number components for multiplier, repeat and run duration
* Add various methods to get time remaining
* Add next_prev_ignore_disabled flag
* Optimize next/previous valve selection methods
* Add numbers_use_minutes flag
* Initialize switch states as they are set up
* Ensure SprinklerControllerSwitch has state if it's not restored
* Add repeat validation
* Misc. clean-up and tweaking
* Fix bugprone-integer-division
* More clean-up
* Set entity_category for standby_switch
* Set default entity_category for numbers
* More housekeeping
* Add run request tracking
* Fix time remaining calculation
* Use native unit_of_measurement for run duration numbers
* Unstack some ifs
2023-02-22 01:47:50 +00:00
Mikhail Zakharov
38a01988a5
fix library override logic ( #4474 )
...
* fix library override logic
* formatting
2023-02-21 21:52:06 +00:00
Fabian
d16eff5039
Support Mopeka Standard LPG tank bluetooth sensor ( #4351 )
...
* Add mopeka standard tank sensor.
* Enhance mopeka ble to find standard sensors.
* Updated `CODEOWNERS` file
* Move default from cpp to py.
* Format documents with esphome settings.
* Linter wants changes.
* Update name of `get_lpg_speed_of_sound`.
* manually update `CODEOWNERS`.
* Manually update CODEOWNER, because `build_codeowners.py. is failing.
* Add comments.
* Use percentage for `propane_butane_mix`.
* add config to `dump_config()`
* Formatting
* Use struct for data parsing and find best data.
* Add `this`.
* Consistant naming of configuration.
* Fix format issues.
* Make clang-tidy happy.
* Adjust loop variable.
---------
Co-authored-by: Your Name <you@example.com>
2023-02-21 21:48:29 +00:00
dependabot[bot]
8fb481751f
Bump esptool from 4.4 to 4.5 ( #4428 )
...
Bumps [esptool](https://github.com/espressif/esptool ) from 4.4 to 4.5.
- [Release notes](https://github.com/espressif/esptool/releases )
- [Commits](https://github.com/espressif/esptool/compare/v4.4...v4.5 )
---
updated-dependencies:
- dependency-name: esptool
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 23:01:49 +00:00
Michael Muré
ba6f89a757
toshiba: add support for quiet fan mode ( #4283 )
2023-02-20 22:31:25 +00:00
dependabot[bot]
48e76e1538
Bump aioesphomeapi from 13.3.1 to 13.4.0 ( #4472 )
...
Bumps [aioesphomeapi](https://github.com/esphome/aioesphomeapi ) from 13.3.1 to 13.4.0.
- [Release notes](https://github.com/esphome/aioesphomeapi/releases )
- [Commits](https://github.com/esphome/aioesphomeapi/compare/v13.3.1...v13.4.0 )
---
updated-dependencies:
- dependency-name: aioesphomeapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 22:29:20 +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
Jesse Hills
50fbbf2d3b
Move remaining SENSOR_SCHEMA to use sensor_schema() ( #4471 )
2023-02-20 03:22:37 +00:00
konsulten
247916fe89
BL0939 state_class set for energy sensors ( #4463 )
...
BL0939 was missing TOTAL_INCREASING for energy (kWh) thus it did not show as statistics in home assistant
2023-02-20 02:48:59 +00:00
Mat931
ed801f7a27
Add internal_temperature component ( #4330 )
...
* Add cpu_temperature component
* Add tests
* Fix formatting
* Possible fix for "sensor not shown in HomeAssistant"
* Rename component to internal_temperature
* Update esphome/components/internal_temperature/internal_temperature.cpp
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
* Update esphome/components/internal_temperature/internal_temperature.cpp
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
* Update esphome/components/internal_temperature/internal_temperature.cpp
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
* Update internal_temperature.h
* Remove unique_id
* Update ESP32 variant detection
---------
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2023-02-20 02:47:37 +00:00
irtimaled
f68d577986
Add configurable color datapoint ( #4383 )
...
* Add configurable color datapoint
* Lint fixes
* Review comments
* Linting
2023-02-19 21:50:46 +00:00
Jesse Hills
5c49730cb9
Simplify binary_sensor_schema function ( #4469 )
2023-02-19 21:13:40 +00:00
Jesse Hills
04c12823b5
Simplify button_schema function ( #4468 )
2023-02-19 21:13:37 +00:00
Jesse Hills
add40c7652
Simplify number_schema function ( #4467 )
2023-02-19 21:13:35 +00:00
Regev Brody
72391389a3
add SUB_BUTTON macro and ability to button schema to define the class ( #4450 )
...
* add ability to button schema to define the class
* add SUB_BUTTON macro
2023-02-19 19:54:03 +00:00
Regev Brody
e68beb8a43
add SUB_NUMBER macro and schema to number ( #4449 )
...
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
2023-02-19 19:54:00 +00:00
Paulus Schoutsen
40e2832e67
Simplify sensor schema generation ( #4462 )
...
* Simplify sensor schema generation
* Mark class not optional
* Fix assignment
2023-02-19 19:20:13 +00:00
Jesse Hills
36a1f6cfb1
Update Manifest to rmeove unused dashboard files and include .c ethernet drivers ( #4459 )
2023-02-19 19:12:29 +00:00
Regev Brody
12bef16d54
add SUB_TEXT_SENSOR macro ( #4448 )
2023-02-19 19:11:24 +00:00
Regev Brody
77db8c8401
add SUB_BINARY_SENSOR macro ( #4447 )
2023-02-19 19:11:21 +00:00
Adam Jacques
66eecd3675
NeoPixel - Add support for ESP32-S3 ( #4435 )
2023-02-19 13:38:27 +00:00
jmichiel
c03b1fae68
fix preset discovery config ( #4451 )
...
Co-authored-by: Michiel, Jeroen <jeroen.michiel@teledyneflir.com>
2023-02-19 13:33:52 +00:00
Jesse Hills
37d55b55fc
Fix adoption of variants and pico-w ( #4455 )
2023-02-17 06:06:18 +00:00