Jesse Hills
0a4213182e
Merge branch 'release' into dev
2022-06-21 07:18:41 +12:00
Sergey Dudanov
b0c0258e70
Media Player: added play_media action ( #3579 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-20 12:17:20 +12:00
kahrendt
8110e591d0
Fix wrong type for voc_state*_ in sgp4x component ( #3581 )
...
Co-authored-by: Martin <25747549+martgras@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-20 11:27:00 +12:00
ShellAddicted
fe05d7aec1
Fix: Make MQTT over TLS actually work ( #3580 )
2022-06-20 11:17:58 +12:00
lkomurcu
57f5884070
Move gas mbus config option being a define to being a build flag since its used in external libraries. ( #3575 )
2022-06-20 07:39:40 +12:00
Jesse Hills
7c86f3fa9e
Bump version to 2022.6.1
2022-06-18 17:25:52 +12:00
Sergey Dudanov
203b8b01bf
Media Player: added triggers ( #3576 )
2022-06-18 17:25:51 +12:00
Benjamin Klotz
8a1034a92f
Bugfix for ExternalRAMAllocator copy constructor ( #3571 )
2022-06-18 17:25:51 +12:00
Jesse Hills
aa0c2dedd9
Setup the mute pin if configured ( #3568 )
2022-06-18 17:25:51 +12:00
Sergey Dudanov
d045908e05
Media Player: added triggers ( #3576 )
2022-06-18 17:21:42 +12:00
Guillermo Ruffino
f002a23d2d
Language schema 202204 ( #3492 )
2022-06-17 13:46:20 +12:00
gazoodle
29d6d0a906
Fix modbus user-defined function handling ( #3527 )
2022-06-17 13:35:25 +12:00
Benjamin Klotz
c8b58b5c23
Bugfix for ExternalRAMAllocator copy constructor ( #3571 )
2022-06-17 13:32:43 +12:00
Jesse Hills
01bfafc5f1
Setup the mute pin if configured ( #3568 )
2022-06-17 13:30:21 +12:00
Jesse Hills
2d1abaa68e
Bump version to 2022.6.0
2022-06-16 11:31:38 +12:00
Jesse Hills
94f6c6861a
Bump version to 2022.6.0b4
2022-06-14 20:41:46 +12:00
Martin
b1d614e6c4
Bm3xx: Fix typo ( #3559 )
2022-06-14 20:41:46 +12:00
André Klitzing
7fceb070e5
Fix compilation with ESP32-S3 ( #3543 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-14 20:41:46 +12:00
Martin
06440d0202
Bm3xx: Fix typo ( #3559 )
2022-06-14 20:38:09 +12:00
André Klitzing
0ecf9f4f2f
Fix compilation with ESP32-S3 ( #3543 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-14 20:36:38 +12:00
Jesse Hills
f3a25de11d
Bump version to 2022.6.0b3
2022-06-13 13:32:43 +12:00
Jesse Hills
041bef8bcd
Implement media player volume actions ( #3551 )
2022-06-13 13:32:43 +12:00
Jesse Hills
8998c5f6dd
Implement media player volume actions ( #3551 )
2022-06-13 13:28:55 +12:00
Jesse Hills
d2d4eb4eae
Bump version to 2022.6.0b2
2022-06-09 20:27:22 +12:00
Viktor Nagy
5942a3898c
Nextion brightness setting requires an assignment ( #3533 )
2022-06-09 20:27:22 +12:00
Samuel Sieb
93421f0fa7
publish fan speed count for discovery ( #3537 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2022-06-09 20:27:22 +12:00
RoboMagus
3a9ab50dd2
Refactor vl53l0x to remove code from header. ( #3536 )
2022-06-09 16:24:56 +12:00
Viktor Nagy
5abd91d6d5
Nextion brightness setting requires an assignment ( #3533 )
2022-06-09 16:20:05 +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
Jesse Hills
ec1fae6883
Bump version to 2022.7.0-dev
2022-06-08 22:46:20 +12:00
Jesse Hills
746fd1122f
Bump version to 2022.6.0b1
2022-06-08 22:46:20 +12:00
Jesse Hills
9663760ec5
Merge branch 'dev' into bump-2022.6.0b1
2022-06-08 22:46:20 +12:00
Wolfgang Tremmel
a3d73d1e23
RG15 data is float/double, not int ( #3512 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-08 22:34:50 +12:00
Jesse Hills
d63e14a4b6
Implement the media player actions ( #3534 )
2022-06-08 22:33:21 +12:00
DAVe3283
03944e6cd8
Fix bogus reading on no communication with MAX31865 ( #3505 )
2022-06-08 09:58:32 +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
VitaliyKurokhtin
6a85259e4d
Block Tuya light from reacting to dp changes if transitioning ( #3076 )
2022-06-07 23:07:08 +12:00
Maurice Makaay
ebca936b7e
Fix percentage validation for wrong data type input ( #3524 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-06-07 23:00:27 +12:00
Nicholas Peters
31c4551890
Fix sdp3x error checking ( #3531 )
2022-06-07 22:43:46 +12:00
Samuel Sieb
dd470d4197
support rotated ILI9341 (ILI9342) ( #3526 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2022-06-07 22:42:13 +12:00
Maurice Makaay
612822490b
Fix endless 'WiFi Unknown connection status 0' loop ( #3530 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-06-07 12:08:29 +12:00
Maurice Makaay
f8969605e8
Suppress first rotary encoder event ( #3532 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-06-07 11:36:54 +12:00
Carlos Garcia Saura
dd24ffa24e
Correct ADC auto-range for ESP32-S2 variant (13 bit adc) ( #3158 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com>
2022-06-03 16:07:35 +12:00
guillempages
d0dda48932
Add display_type property to DisplayBuffer ( #3430 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-06-03 15:39:04 +12:00
Eric van Blokland
6349b5f654
Added RC6 protocol support ( #3514 )
2022-06-03 15:37:04 +12:00
Joe
a6ff02a3cf
Refactor clock syncing ( #3503 )
...
* Expose `send_local_time()` as public, for use in lambdas.
This will send the current time configured in `time_id`.
* Add a new `set_clock()` public method, separate from time_id.
This allows setting the clock manually, without syncing from a Time
Component. Again this can only be called from ESPHome; i.e.,
generally from a lambda.
2022-06-03 13:53:20 +12:00
jimtng
4f57bf786b
Add mqtt.on_connect and mqtt.on_disconnect triggers ( #3520 )
2022-06-03 13:51:50 +12:00
Jesse Hills
6221f6d47d
Implement Media Player and I2S Media player ( #3487 )
2022-06-02 17:00:17 +12:00
Wolfgang Tremmel
a922efeafa
Change rain intensity sensor string ( #3511 )
2022-05-31 16:49:18 +12:00
jimtng
5aa42e5e66
Add variable substitutions for !include ( #3510 )
2022-05-31 16:45:18 +12:00
Joe
708672ec7e
[BedJet] Add configurable heating strategy ( #3519 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-31 15:45:01 +12:00
Jan Grewe
d2cefbf224
Allow Prometheus component to export internal components ( #3508 )
...
Co-authored-by: Jan Grewe <jan.grewe@flixbus.com>
2022-05-31 07:29:57 +12:00
Michael Davidson
adb7aa6950
Thermostat preset with modes ( #3298 )
...
* Rework HOME/AWAY support to being driven via a map of ClimatePreset/ThermostatClimateTargetTempConfig
This opens up to theoretically being able to support other presets (ECO, SLEEP, etc)
* Add support for additional presets
Configuration takes the form;
```
climate:
platform: preset
...
preset:
[eco | away | boost | comfort | home | sleep | activity]:
default_target_temperature_low: 20
default_target_temperature_high: 24
```
These will be available in the Home Assistant UI and, like the existing Home/Away config will reset the temperature in line with these defaults when selected. The existing away_config/home_config is still respected (although preset->home/preset->away will be applied after them and override them if both styles are specified)
* Add support for specifying MODE, FAN_MODE and SWING_MODE on a preset
When switching presets these will implicitly flow through to the controller. However calls to climate.control which specify any of these will take precedence even when changing the mode (think of the preset version as the default for that preset)
* Add `preset_change` mode trigger
When defined this trigger will fire when the preset for the thermostat has been changed. The intent of this is similar to `auto_mode` - it's not intended to be used to control the preset's state (eg. communicate with the physical thermostat) but instead might be used to update a visual indicator, for instance.
* Apply lint, clang-format, and clang-tidy fixes
* Additional clang-format fixes
* Wrap log related strings in LOG_STR_ARG
* Add support for custom presets
This also changes the configuration syntax to;
```yaml
preset:
# Standard preset
- name: [eco | away | boost | comfort | home | sleep | activity]
default_target_temperature_low: 20
...
# Custom preset
- name: My custom preset
default_target_temperature_low: 18
```
For the end user there is no difference between a custom and built in preset. For developers custom presets are set via `climate.control` `custom_preset` property instead of the `preset`
* Lint/clang-format/clang-tidy fixes
* Additional lint/clang-format/clang-tidy fixes
* Clang-tidy changes
* Sort imports
* Improve configuration validation for presets
- Unify temperature validation across default, away, and preset configuration
- Validate modes for presets have the required actions
* Trigger a refresh after changing internals of the thermostat
* Apply formatting fixes
* Validate mode, fan_mode, and swing_mode on presets
* Add preset temperature validation against visual min/max configuration
* Apply code formatting fixes
* Fix preset temperature validation
2022-05-24 22:44:26 -05:00
Wumpf
cd35ead890
[scd4x] Fix not passing arguments to templatable value for perform_forced_calibration ( #3495 )
2022-05-24 13:00:06 +12:00
joseph douce
9dc804ee27
Output a true RMS voltage % ( #3494 )
2022-05-24 12:52:54 +12:00
Martin
a8ceeaa7b0
esp32: fix NVS ( #3497 )
2022-05-23 20:56:26 +12:00
Sergey Dudanov
7092f7663e
midea: New power_toggle action. Auto-use remote transmitter. ( #3496 )
2022-05-23 20:51:45 +12:00
Jesse Hills
d9d2edeb08
Fix compile issues on windows ( #3491 )
2022-05-19 21:21:42 +12:00
Jesse Hills
dda1ddcb26
Add missing import to bedjet ( #3490 )
2022-05-19 16:23:40 +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
gazoodle
4f52d43347
add support user-defined modbus functions ( #3461 )
2022-05-19 12:49:12 +12:00
Martin
0ed7db979b
Add support for SGP41 ( #3382 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-19 12:47:33 +12:00
myml
9c78049359
feat: esp32-camera add stream event ( #3285 )
2022-05-19 12:23:50 +12:00
user897943
7882105661
Update bedjet_const.h to remove blank spaces before speed steps, fixes Unknown Error when using climate.set_fan_mode in HA ( #3476 )
2022-05-19 10:25:42 +12:00
Dave T
c000e1d6dd
Ili9341 8bit indexed mode pt1 ( #2490 )
2022-05-19 10:23:00 +12:00
Jesse Hills
282d9e138c
Revert adding spaces
2022-05-17 23:31:55 +12:00
Jesse Hills
72fcf2cbe1
Bump version to 2022.5.0b4
2022-05-17 23:23:37 +12:00
Samuel Sieb
6f49f5465b
Retry Tuya init commands ( #3482 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2022-05-17 23:23:33 +12:00
Martin
17b8bd8316
ESP32: Only save to NVS if data was changed ( #3479 )
2022-05-17 23:16:33 +12:00
Samuel Sieb
9b6b9c1fa2
Retry Tuya init commands ( #3482 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2022-05-17 20:15:02 +12:00
Martin
609a2ca592
ESP32: Only save to NVS if data was changed ( #3479 )
2022-05-17 10:59:36 +12:00
[pʲɵs]
6dabf24bf3
MQTT cover: send state even if position is available ( #3473 )
2022-05-16 15:35:27 +12:00
Jesse Hills
c707e64685
Bump version to 2022.5.0b3
2022-05-16 13:07:12 +12:00
Jesse Hills
a639690716
Mark improv_serial and ESP-IDF usb based serial on c3/s2/s3 unsupported ( #3477 )
2022-05-16 13:07:12 +12:00
[pʲɵs]
01222dbab7
Increase JSON buffer size on overflow ( #3475 )
2022-05-16 13:07:12 +12:00
Jesse Hills
93e2506279
Mark improv_serial and ESP-IDF usb based serial on c3/s2/s3 unsupported ( #3477 )
2022-05-16 13:05:20 +12:00
Maxim Ocheretianko
f62d5d3b9d
Add Tuya select ( #3469 )
2022-05-16 07:49:40 +12:00
Maxim Ocheretianko
0665acd190
Tuya status gpio support ( #3466 )
2022-05-16 07:44:14 +12:00
[pʲɵs]
fea05e9d33
Increase JSON buffer size on overflow ( #3475 )
2022-05-15 19:53:43 +12:00
Dave T
39c6c2417a
Remove duplicate convert_to_8bit_color_ function. ( #2469 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2022-05-12 22:18:51 +12:00
Jesse Hills
603d0d0c7c
Bump version to 2022.5.0b2
2022-05-12 17:00:14 +12:00
Brian Kaufman
28883f711b
Update captive portal canHandle function ( #3360 )
2022-05-12 17:00:13 +12:00
Michael Davidson
e914828add
Make custom_fan and custom_preset templatable as per documentation ( #3330 )
2022-05-12 17:00:13 +12:00
James Szalay
c1480029fb
Use heat mode for heat. Move EXT HT to custom presets. ( #3437 )
...
* Use heat mode for heat. Move EXT HT to custom presets.
* Fix syntax error.
2022-05-12 17:00:13 +12:00
Niclas Larsson
40f622949e
Shelly dimmer: Use unique_ptr to handle the lifetime of stm32_t ( #3400 )
...
Co-authored-by: Martin <25747549+martgras@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-12 17:00:13 +12:00
Maurice Makaay
63096ac2bc
On epoch sync, restore local TZ ( #3462 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-05-12 17:00:13 +12:00
Brian Kaufman
03d5a0ec1d
Update captive portal canHandle function ( #3360 )
2022-05-12 16:57:50 +12:00
Michael Davidson
1c873e0034
Make custom_fan and custom_preset templatable as per documentation ( #3330 )
2022-05-12 16:54:45 +12:00
swifty99
bcb47c306c
Tcs34725 automatic sampling settings for improved dynamics and accuracy ( #3258 )
...
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-12 16:53:33 +12:00
James Szalay
01c4d3c225
Use heat mode for heat. Move EXT HT to custom presets. ( #3437 )
...
* Use heat mode for heat. Move EXT HT to custom presets.
* Fix syntax error.
2022-05-12 15:26:14 +12:00
Niclas Larsson
c2aaae4818
Shelly dimmer: Use unique_ptr to handle the lifetime of stm32_t ( #3400 )
...
Co-authored-by: Martin <25747549+martgras@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-05-12 10:26:51 +12:00
Maurice Makaay
3f678e218d
On epoch sync, restore local TZ ( #3462 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-05-12 09:25:00 +12:00
Jesse Hills
f8a1bd4e79
Bump version to 2022.6.0-dev
2022-05-11 12:50:42 +12:00
Jesse Hills
d6e039a1d1
Bump version to 2022.5.0b1
2022-05-11 12:50:42 +12:00
Jesse Hills
0f1a7c2b69
Merge branch 'dev' into bump-2022.5.0b1
2022-05-11 12:50:41 +12:00
Jesse Hills
40ad9f4911
Add deep_sleep.allow YAML action ( #3459 )
2022-05-11 12:47:50 +12:00
Ruben De Smet
4116caff6a
Implement allow_deep_sleep ( #3282 )
2022-05-11 11:44:52 +12:00
Otto Winter
0b69f72315
Enable api transport encryption for new projects ( #3142 )
...
* Enable api transport encryption for new projects
* Format
2022-05-11 11:38:05 +12:00
Maurice Makaay
c569f5ddcf
Code cleanup fixes for the number component ( #3458 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-05-11 11:02:49 +12:00
Maurice Makaay
62f9e181e0
Code cleanup fixes for the select component ( #3457 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2022-05-11 10:58:28 +12:00