Oxan van Leeuwen
4eb51ab4d6
Disable automatic usage of SNTP servers from DHCP ( #2273 )
2021-09-14 07:12:59 +12:00
Oxan van Leeuwen
e6b0a0ca2b
Clean-up sensor integration ( #2275 )
2021-09-13 18:58:49 +02:00
Oxan van Leeuwen
924df1e7de
Run clang-tidy against Arduino 3 ( #2146 )
...
* Add macros header with more usable Arduino version defines
* Change Arduino version checking to use our version defines
* Add missing ESP8266 check
* Rename Arduino version macro to ARDUINO_VERSION_CODE
* Upgrade clang-tidy to use Arduino 3
* Fix clang-tidy warnings
* Upgrade NeoPixelBus to upstream 2.6.7
* Use Arduino-version-appropriate API to set redirect flags
* Remove now unnecessary CLANG_TIDY ifdefs
* Add preprocessor hackery to avoid including pgmspace.h
* Bump base image to 4.1.1 and update lint
* Fix nfctag
* Fix make_unique ambiguous
* Fix ignore name
* Fix ambiguous v2
* Remove unused begin
* Cast time_t to prevent issues on platforms where time_t is 32bit
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-13 18:55:04 +02:00
Otto Winter
ed7983af41
Fix API socket issues ( #2288 )
...
* Fix API socket issues
* Fix compile error against beta
* Format
2021-09-13 18:52:53 +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
a2d2863c72
Revert "Bump tzlocal from 2.1 to 3.0 ( #2154 )" ( #2289 )
...
This reverts commit e0cff214b2
.
2021-09-13 17:22:24 +02:00
Oxan van Leeuwen
133a17d6eb
Add esphal.h include to inkplate6 component ( #2286 )
2021-09-13 16:55:01 +02:00
Oxan van Leeuwen
fe47ddc27a
Convert st7735.h to use LF line endings ( #2287 )
2021-09-13 16:39:35 +02:00
Tercio Filho
aad03f1bf5
Fix issue #2054 . PZEM004T Component doesn't set the module address. ( #1784 )
2021-09-13 15:36:01 +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
dependabot[bot]
e0cff214b2
Bump tzlocal from 2.1 to 3.0 ( #2154 )
...
Bumps [tzlocal](https://github.com/regebro/tzlocal ) from 2.1 to 3.0.
- [Release notes](https://github.com/regebro/tzlocal/releases )
- [Changelog](https://github.com/regebro/tzlocal/blob/master/CHANGES.txt )
- [Commits](https://github.com/regebro/tzlocal/compare/2.1...3.0 )
---
updated-dependencies:
- dependency-name: tzlocal
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>
2021-09-13 11:25:28 +02:00
James Braid
c6109024aa
Fix SM300D2 sensor component routines so they correctly read the sensor output ( #2159 )
2021-09-13 11:23:59 +02:00
Alex
4e308f551c
Fix devcontainer scripts on Windows ( #2239 )
2021-09-13 10:08:06 +02:00
Kamil Trzciński
8a2b1d9359
Expose select on Frontend web_server:
( #2245 )
2021-09-13 10:06:28 +02:00
Jas Strong
63a186bdf9
t6615: tolerate sensor dropping commands ( #2255 )
...
The Amphenol T6615 has a built-in calibration system which means that
the sensor could go away for a couple of seconds to figure itself out.
While this is happening, commands are silently dropped.
This caused the previous version of this code to lock up completely,
since there was no way for the command_ state machine to tick back to
the NONE state.
Instead of just breaking the state machine, which might be harmful on
a multi-core or multi-threaded device, add a timestamp and only break
the lock if it's been more than a second since the command was issued.
The command usually doesn't take more than a few milliseconds to
complete, so this should not affect things unduly.
While we're at it, rewrite the rx side to be more robust against
bytes going missing.
Instead of reading in the data essentially inline, read into a buffer
and process it when enough has been read to make progress.
If data stops coming when we expect it to, or the data is malformed,
have a timeout that sends a new command.
Co-authored-by: jas <jas@asspa.in>
2021-09-13 09:54:48 +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
3aa107142b
Only try compat parsing after regular parsing fails ( #2269 )
2021-09-13 09:37:11 +02:00
Oxan van Leeuwen
0cd24c629a
Compatibility with clang-tidy v14 ( #2272 )
2021-09-13 09:35:55 +02:00
Oxan van Leeuwen
f31e0532c4
Untangle core headers (part 1) ( #2276 )
2021-09-13 09:33:29 +02:00
irtimaled
f0b6aabc96
Support inverting color temperature on tuya lights ( #2277 )
2021-09-13 09:33:20 +02:00
Oxan van Leeuwen
97a18717e6
Disable automatic usage of SNTP servers from DHCP ( #2273 )
2021-09-13 12:44:39 +12:00
Oxan van Leeuwen
ede1de9021
Drop obsolete comments from CONTRIBUTING.md ( #2271 )
2021-09-12 22:04:35 +02:00
Jesse Hills
f1a8d957f8
Merge pull request #2267 from esphome/bump-2021.9.0b2
...
2021.9.0b2
2021-09-10 22:13:54 +12:00
Jesse Hills
9821a3442b
Bump version to 2021.9.0b2
2021-09-10 21:34:38 +12:00
poptix
87842e097b
sm300d2: Accept (undocumented) 0x80 checksum offset. ( #2263 )
...
Co-authored-by: Matt Hallacy <github@poptix.net>
2021-09-10 21:34:38 +12:00
Jesse Hills
7dd40e2014
Fix a few ESP32-C3 compiler issues ( #2265 )
...
* Fix using Serial when using ESP32-C3 standard pins
* Force type for std::min in pn532
* Fix variable size where size_t is different on exp32-c3
2021-09-10 21:34:38 +12:00
poptix
3d71e2e189
sm300d2: Accept (undocumented) 0x80 checksum offset. ( #2263 )
...
Co-authored-by: Matt Hallacy <github@poptix.net>
2021-09-10 21:05:25 +12:00
Jesse Hills
affaaf7d2c
Fix a few ESP32-C3 compiler issues ( #2265 )
...
* Fix using Serial when using ESP32-C3 standard pins
* Force type for std::min in pn532
* Fix variable size where size_t is different on exp32-c3
2021-09-10 12:10:28 +12:00
Jesse Hills
a719998220
Merge pull request #2262 from esphome/bump-2021.9.0b1
...
2021.9.0b1
2021-09-09 11:40:33 +12:00
Jesse Hills
bad161a5c1
Bump version to 2021.10.0-dev
2021-09-09 10:28:34 +12:00
Jesse Hills
09a6fdf1c7
Bump version to 2021.9.0b1
2021-09-09 10:28:34 +12:00
Stephen Tierney
d2616cbdfc
PMSA003i Update state_class and async ( #2216 )
...
* Update component (state_class and async)
* No need to specify empty device class
* Remove unused import
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-09 10:14:08 +12:00
Keith Burzinski
faf1c8bee8
SGP40 sensor start-up fix ( #2178 )
2021-09-09 09:42:35 +12:00
Peter van Dijk
f09aca4865
pm1006: add support for sending a measurement request ( #2214 )
2021-09-09 09:35:00 +12:00
Jesse Hills
cc52f37933
Revert "Dont dump legacy fields ( #2241 )" ( #2259 )
...
This reverts commit 97eba1eecc
.
2021-09-09 09:29:08 +12:00
Otto Winter
e5051eefbc
API encryption ( #2254 )
2021-09-09 09:22:47 +12:00
Peter van Dijk
9e5cd0da51
ccs811: publish firmware version; log bootloader and HW version; fix a bug ( #2006 )
2021-09-09 09:19:43 +12:00
Sergey V. DUDANOV
4e120a291e
Midea support v2 ( #2188 )
2021-09-09 09:10:02 +12:00
Otto Winter
2790d72bff
Convert API to use sockets ( #2253 )
...
* Socket component
* Lint
* Lint
* Fix esp8266 missing INADDR_ANY
* API convert to sockets and frame helper
* Fix compile error
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-08 12:52:57 +02:00
Otto Winter
e44f447d85
Fix socket not setting callbacks early enough ( #2260 )
2021-09-08 12:02:32 +02:00
Jesse Hills
4356581db0
Remove removesuffix
2021-09-08 19:51:20 +12:00
Jesse Hills
f87a701b28
Bump dashboard to 20210908.0 and fix card names for yml ( #2258 )
2021-09-08 17:14:12 +12:00
Jesse Hills
fa2eb46cd6
Allow .yml files to show up in the dashboard ( #2257 )
2021-09-08 16:11:09 +12:00
Otto Winter
f924e80f43
Socket component ( #2250 )
2021-09-08 15:41:42 +12:00
Chris Nussbaum
6180ee8065
Template sensors always publish on update interval ( #2224 )
...
Co-authored-by: Chris Nussbaum <chris.nussbaum@protolabs.com>
2021-09-08 15:36:49 +12:00
wifwucite
1be106c0b5
Fix fan speed restore issue on boot ( #1867 )
2021-09-08 15:30:17 +12:00
dgtal1
b0533db2eb
Add new trigger to fan component on_speed_set
( #2246 )
2021-09-08 15:15:57 +12:00
Otto Winter
dba502c756
Logger prevent recursive logging ( #2251 )
2021-09-08 08:57:20 +12:00
Oxan van Leeuwen
d9cb64b893
Add device classes new in HA 2021.9 ( #2248 )
2021-09-07 10:12:26 +12:00