Fabian
afc2b3b74f
Keep Device Class in Flash. ( #4639 )
...
* Keep Device Class in Flash.
* Remove blank line
---------
Co-authored-by: Your Name <you@example.com>
2023-04-20 03:53:35 +00:00
Jesse Hills
19fc1417ae
Merge pull request #4715 from esphome/bump-2023.4.0
...
2023.4.0
2023-04-20 15:18:09 +12:00
Jesse Hills
e2fefa51f5
Bump version to 2023.4.0
2023-04-20 14:06:53 +12:00
Jesse Hills
f668d5617f
Merge branch 'beta' into bump-2023.4.0
2023-04-20 14:06:52 +12:00
Jesse Hills
47c4ff15d6
Merge pull request #4714 from esphome/bump-2023.4.0b4
...
2023.4.0b4
2023-04-20 14:00:12 +12:00
Jesse Hills
ccf1bdc0b4
Bump version to 2023.4.0b4
2023-04-20 13:10:26 +12:00
Jesse Hills
e993fcf80c
Bump arduino platform version to 5.3.0 ( #4713 )
...
* Bump arduino platform version to 5.3.0
* Update root platformio.ini
2023-04-20 13:10:25 +12:00
tracestep
1bdc30a09e
Add ethernet powerdown (fixes esphome/issues#4420) ( #4706 )
...
* Add ethernet powerdown
* Add on_shutdown (fixes esphome/issues#4420
* Sync dev and clang-tidy fix
* fix typo and trainling space
* Initialize phy_ member
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Member initialized at declaration
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-20 13:10:25 +12:00
Jesse Hills
0f7e34e7ec
Bump arduino platform version to 5.3.0 ( #4713 )
...
* Bump arduino platform version to 5.3.0
* Update root platformio.ini
2023-04-20 00:44:49 +00:00
Jesse Hills
f56e89597f
Merge pull request #4711 from esphome/bump-2023.4.0b3
...
2023.4.0b3
2023-04-20 11:14:00 +12:00
Jesse Hills
9460fb28c4
Bump version to 2023.4.0b3
2023-04-20 10:15:34 +12:00
Jesse Hills
7207b9734f
Call on_error if no api client connected that handles voice ( #4709 )
2023-04-20 10:15:34 +12:00
tracestep
2be703b329
Add ethernet powerdown (fixes esphome/issues#4420) ( #4706 )
...
* Add ethernet powerdown
* Add on_shutdown (fixes esphome/issues#4420
* Sync dev and clang-tidy fix
* fix typo and trainling space
* Initialize phy_ member
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Member initialized at declaration
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
* Use `this` pointer
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-19 22:10:01 +00:00
Jesse Hills
4cea74ef3b
Call on_error if no api client connected that handles voice ( #4709 )
2023-04-19 20:56:37 +00:00
Jesse Hills
3be3267d06
Merge pull request #4700 from esphome/bump-2023.4.0b2
...
2023.4.0b2
2023-04-17 17:16:16 +12:00
Jesse Hills
98db604dba
Bump version to 2023.4.0b2
2023-04-17 15:45:35 +12:00
Jesse Hills
ebf6f8c6de
Add event triggers to voice_assistant ( #4699 )
...
* Add event triggers to voice_assistant
* Add triggers to test
2023-04-17 15:45:34 +12:00
Szewcson
2ebacad398
Add timeout to i2c write error logs ( #4697 )
2023-04-17 15:45:34 +12:00
Jimmy Hedman
53c59cf675
Fixed dns2 for ethernet ( #4698 )
2023-04-17 15:45:34 +12:00
Jesse Hills
9da261cb39
debug component, allow without debug logging ( #4685 )
2023-04-17 15:45:34 +12:00
Jesse Hills
3a587ea0d4
Add event triggers to voice_assistant ( #4699 )
...
* Add event triggers to voice_assistant
* Add triggers to test
2023-04-17 02:57:28 +00:00
Szewcson
8a60919e1f
Add timeout to i2c write error logs ( #4697 )
2023-04-16 20:12:13 +00:00
Jimmy Hedman
382dcddf12
Fixed dns2 for ethernet ( #4698 )
2023-04-16 20:10:07 +00:00
Jesse Hills
6b67acbeb5
debug component, allow without debug logging ( #4685 )
2023-04-14 02:29:28 +00:00
dependabot[bot]
7b0fca6824
Bump docker/build-push-action from 3 to 4 ( #4367 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 08:13:13 +00:00
dependabot[bot]
47555d314a
Bump peter-evans/create-pull-request from 4 to 5 ( #4661 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 08:12:24 +00:00
dependabot[bot]
0643b71908
Bump aioesphomeapi from 13.5.1 to 13.7.0 ( #4676 )
...
Bumps [aioesphomeapi](https://github.com/esphome/aioesphomeapi ) from 13.5.1 to 13.7.0.
- [Release notes](https://github.com/esphome/aioesphomeapi/releases )
- [Commits](https://github.com/esphome/aioesphomeapi/compare/v13.5.1...v13.7.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-04-13 05:31:47 +00:00
kahrendt
afc848bf22
Add Bayesian type for binary_sensor_map component ( #4640 )
...
* initial support for Bayesian type
* Cast bool state of binary_sensor to uint64_t
* Rename channels to observations with Bayesian
* Improve/standardize comments for all types
* Use black to correct sensor.py formatting
* Add SUM and BAYESIAN binary sensor map tests
* Remove unused variable
* Update esphome/components/binary_sensor_map/binary_sensor_map.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-13 01:48:29 +00:00
Jesse Hills
9fbbcd6d8a
Merge pull request #4683 from esphome/bump-2023.4.0b1
...
2023.4.0b1
2023-04-13 11:06:53 +12:00
Jesse Hills
cc1eb648f9
Only allow 5 jobs from each CI run to be in parallel ( #4682 )
2023-04-12 22:46:19 +00:00
Jesse Hills
04a139fe3d
Bump version to 2023.5.0-dev
2023-04-13 10:13:53 +12:00
Jesse Hills
1a86167a47
Bump version to 2023.4.0b1
2023-04-13 10:13:52 +12:00
Jesse Hills
614ed7fd0c
Merge branch 'dev' into bump-2023.4.0b1
2023-04-13 10:13:52 +12:00
spacemanspiff2007
4eb69d6af5
Fix restore ( #4655 )
...
* ALWAYS_OFF for fan
* ALWAYS_OFF for light
* ALWAYS_OFF for switch
2023-04-12 21:28:02 +00:00
Fabian
0547f2a931
Add KSZ8081 support. ( #4668 )
...
Co-authored-by: Your Name <you@example.com>
2023-04-12 21:22:08 +00:00
unhold
b5fbe0b145
Fix cut-off on 2.13" waveshare/ttgo epaper displays ( #4255 )
...
The controller of the 2.13" waveshare/ttgo epaper displays operates with a 128x250 buffer,
while only 122x250 pixels are shown. While this can be ignored for rotations 0/270°,
with roations 90/180°, 6 pixels are cut-off from the top or left edge.
This change introduces a distinction between object width and controller width,
resulting in pixel-perfect rotations.
2023-04-12 21:19:52 +00:00
unhold
443c3c2a56
Fix graph limits for negative values and other corner cases ( #4253 )
...
Fix lower graph limit for negative values by rounding down instead of truncating.
Consistently handle the corner cases: empty trace, min=max (e.g. single value)
by drawing the grid lines for a single grid division.
2023-04-12 21:18:09 +00:00
X-Ryl669
d75daa9644
Add always trigger stop ( #4249 )
...
* feat: Add manual control config override 1/3
* feat: Add manual control config override 2/3
* feat: Add manual control config override 3/3
* No magical number is better
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
---------
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2023-04-12 21:16:44 +00:00
Joe
7963abb27a
Fix BedJet setup priority [fixes esphome/issues#3807] ( #4677 )
...
There is a race condition where a BedJet unit previously had its BLE
"notify" flag enabled, and it continues to broadcast these notify
packets even after the ESP32 (and BLEClient) goes away, such as during
a crash or unplugging power.
BLEClient::setup_priority=AFTER_BLUETOOTH, while
BedJetHub::setup_priority=AFTER_WIFI. When the ESP32 starts back up
again, BLEClient::setup() happens first and will start receiving the
BLE notify packets almost immediately. Since we register the BLEClient
child from codegen, BedJetHub is registered as a child already by this
point, so BLEClient dispatches the notify status packet (and other gatt
events) to the BedJetHub handler, even though BedJetHub::setup() has
not been called yet.
We initialize BedJetHub::codec_ in setup(), so if BLEClient starts
dispatching gatt events before setup() is called, then codec_ will not
be initialized yet. This causes BedJetHub's gatt notify handler to call
`this->codec_->decode_notify()` on an uninitialized null pointer. Since
invoking a method does not have to dereference the pointer, that method
invocation is allowed; but later trying to access memory on that
instance results in a StoreProhibited panic.
Changing the BedJetHub's setup_priority to BLUETOOTH causes it to be
setup before BLEClient, so that by the time BLEClient starts to receive
BLE packets, BedJetHub is ready to receive them.
2023-04-12 08:33:15 +00:00
Jesse Hills
0b9e8fda34
Fix pin schema for i2s microphone ( #4680 )
2023-04-12 08:25:19 +00:00
Dave Johnston
a3cacc0c8b
Add support for SSD1306 72x40 displays ( #4659 )
...
* add SSD1306 72x40
* fix indents
* fix clang style
2023-04-12 04:02:29 +00:00
Keith Burzinski
5a4840f641
Fix some NFC/PN532 crashes ( #4678 )
...
* Add + use some constants, fix some crashes
* Fix PN532 crashes
2023-04-12 02:29:06 +00:00
Keith Burzinski
3d7d689040
Fix ESP32 SPI hardware assignment in Arduino fw ( #4669 )
2023-04-12 01:38:41 +00:00
Jesse Hills
b60c08dd28
Add push to talk voice assistant ( #4648 )
...
* Add push to talk voice assistant
* Refactor most code into voice_assistant
* Make voice_assistant the component and remove push_to_talk (can be done in yaml)
* Fix component setup
* Always AF_INET to match serverside
* Fix microphone and media player co-existence
* Format
* Update codeowners
* Update test file
* Fix endifs
* nullptr not NULL
* clang-tidy
* Format
* fixup: Add VA event data
* Generate proto
* Parse and log events
* Add default to switch
* Fix
* Add mic/va to test5
2023-04-11 23:45:10 +00:00
dependabot[bot]
80bc567c31
Bump pytest from 7.2.2 to 7.3.0 ( #4673 )
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 7.2.2 to 7.3.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.0 )
---
updated-dependencies:
- dependency-name: pytest
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-04-10 22:29:40 +00:00
dependabot[bot]
888ac2e180
Bump zeroconf from 0.47.4 to 0.56.0 ( #4674 )
...
Bumps [zeroconf](https://github.com/python-zeroconf/python-zeroconf ) from 0.47.4 to 0.56.0.
- [Release notes](https://github.com/python-zeroconf/python-zeroconf/releases )
- [Changelog](https://github.com/python-zeroconf/python-zeroconf/blob/master/CHANGELOG.md )
- [Commits](https://github.com/python-zeroconf/python-zeroconf/compare/0.47.4...0.56.0 )
---
updated-dependencies:
- dependency-name: zeroconf
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-04-10 22:29:22 +00:00
Jörg Thalheim
421ebcc8b2
use PRIx macros for printing u32/i32 ints ( #4671 )
...
This fix compilation issues with the latest esp-idf.
2023-04-10 22:20:02 +00:00
dependabot[bot]
b56fa8c50a
Bump black from 23.1.0 to 23.3.0 ( #4635 )
...
* Bump black from 23.1.0 to 23.3.0
Bumps [black](https://github.com/psf/black ) from 23.1.0 to 23.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/23.1.0...23.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update black in pre-commit
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-04 02:34:36 +00:00
Ben Hoff
42401775e1
Added in mmc5603 code ( #4175 )
...
* added in mmc5603 code
* added in codeowner
* fix linter errors
* whitespace linter errors
* added codeowner
* clang format
* remove clang format from python code
* fix whitespace
* add tests
* fix test
* make requested edits
* remove status manipulation
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-04 02:34:14 +00:00
dependabot[bot]
9c9bc58c16
Bump pylint from 2.16.4 to 2.17.2 ( #4650 )
...
* Bump pylint from 2.16.4 to 2.17.2
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.16.4 to 2.17.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.4...v2.17.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add return 0 to run_miniterm
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-03 23:55:00 +00:00