J. Nick Koston
415c8b4ab8
Fix handling unassigned areas in lutron_caseta ( #70258 )
2022-04-20 10:07:00 -07:00
akloeckner
d20a620590
Make `this` variable available in template entities ( #65201 )
...
* feat: make this variable available in template entities
This makes the variable `this` available in template entities.
It will simplify the use of self-referencing template entities.
Because, without this, we have to repeat the entity id every time.
If we can solve this without explicitly spelling the entity id,
code can be re-used much better.
As a side-effect, this will allow to use `variables`-like patterns,
where attributes can be used as variables to calculate subsequent attributes or state.
Example:
```yaml
template:
sensor:
- name: test
state: "{{ this.attributes.test }}"
# not: "{{ state_attr('sensor.test', 'test' }}"
attributes:
test: "{{ now() }}"
```
* expose entity_id instead of this
* add test
* Refactor to expose this variable
* Tweak repr dunder
Co-authored-by: Erik <erik@montnemery.com>
2022-04-20 15:30:17 +02:00
Fabian Affolter
9316909e60
Upgrade psutil to 5.9.0 ( #70316 )
2022-04-20 15:17:21 +02:00
Thibaut
b4a536ca09
Fix opening/closing for awning in Overkiz integration ( #68890 )
2022-04-20 14:53:20 +02:00
Franck Nijhof
a22f36178f
Replace Climate HVAC_MODE_* constants with HVACMode enum ( #70286 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-20 13:20:53 +02:00
J. Nick Koston
0dc426e2c4
Bump aiohomekit to 0.7.17 ( #70313 )
...
Changelog: https://github.com/Jc2k/aiohomekit/compare/0.7.16...0.7.17
Fixes : #67665
2022-04-20 13:02:17 +03:00
Fabian Affolter
cd52a8afe5
Remove myself from arest codeowners ( #70314 )
2022-04-19 22:56:33 -10:00
Shay Levy
70616d2b78
Revert "Add humidity to tomorrowio hourly weather forecasts ( #70186 )" ( #70311 )
...
This reverts commit febcab11fb
.
2022-04-20 11:56:13 +03:00
Fabian Affolter
4358152b63
Remove myself from bitcoin codeowners ( #70315 )
2022-04-19 22:55:35 -10:00
Robert Svensson
78b02fe0ce
Enable strict typing for deCONZ platforms ( #70290 )
2022-04-20 09:03:53 +02:00
Justin Edelson
abbac235a5
Add cmake to devcontainer ( #70253 )
...
* add cmake to devcontainer. fixes #70250
* reformatting
2022-04-20 00:01:06 -07:00
Diego Elio Pettenò
16de5edcbf
Don't attempt to set invalid fan percentage and preset_mode (try 3) ( #70294 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-19 23:59:57 -07:00
Franck Nijhof
c460100af1
Add backup.create service ( #70118 )
2022-04-20 08:56:05 +02:00
Poltorak Serguei
725339145f
Scale Z-Wave.Me max values ( #70274 )
...
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
2022-04-20 08:38:55 +02:00
Michael
9860ae562e
Highlight to drag-and-drop diagnostic data instead of copy-and-paste in issue template ( #70279 )
2022-04-20 07:52:56 +02:00
Glenn Waters
1492ea1fe3
Elk types 4 ( #70305 )
2022-04-19 16:45:45 -10:00
arantes555
a1f33a093c
Generic thermostat temp step ( #70303 )
...
* Add target_temp_step to generic_thermostat
* Add target_temp_step to generic_thermostat : fix default + add tests
* Add target_temp_step to generic_thermostat : fix test by using new 'units_imperial' fixture
2022-04-20 01:19:59 +03:00
J. Nick Koston
309424d3b9
Prevent tests changing units from affecting other tests ( #70300 )
...
* Prevent tests changing temperature_unit from affecting other tests
* tweak
2022-04-19 11:38:52 -10:00
J. Nick Koston
27c9e96865
Fix flapping goalzero tests ( #70298 )
2022-04-19 23:38:07 +02:00
Glenn Waters
cec2a40602
ElkM1 integration adding types, part 3 ( #70214 )
...
* ElkM1 integration adding types, part 3
* Fix default _state value.
* Tweak fan get.
* change get to dict access.
2022-04-19 10:52:46 -10:00
IceBotYT
1fb261cdc5
Code quality improvements to PECO ( #70301 )
2022-04-19 22:45:27 +02:00
ollo69
b7c1fbc842
Add missing typing in AsusWRT router class ( #70189 )
...
* Add missing typing in AsusWRT router class
* Fix typing in device tracker
* Fix mypy incompatible type
2022-04-19 22:55:46 +03:00
J. Nick Koston
c08afca912
Revert "Add target_temp_step to generic_thermostat ( #58691 )" ( #70299 )
...
This reverts commit ba4ca3e38e
.
2022-04-19 22:46:42 +03:00
Paulus Schoutsen
78f5614cdc
Add extra tests for input text ( #70283 )
2022-04-19 19:31:09 +02:00
Robert Svensson
7bc9d01520
Enable strict typing for deCONZ platforms cover+lock+siren+switch ( #69930 )
2022-04-19 18:14:56 +02:00
lymanepp
febcab11fb
Add humidity to tomorrowio hourly weather forecasts ( #70186 )
...
* Add humidity to hourly weather forecasts
* Don't include humidity in daily forecasts
* Fix test
2022-04-19 19:14:07 +03:00
Mask3007
2228ea5ee0
Add update entity to fritz integration ( #70096 )
2022-04-19 17:12:21 +02:00
Michael
89c717bf40
Enable long term statistics for Xiaomi Mijia BLE Temperature and Humidity Sensor ( #70272 )
2022-04-19 17:09:41 +02:00
Álvaro Fernández Rojas
5729209d5d
Update aioairzone to v0.4.0 ( #70280 )
2022-04-19 17:03:13 +02:00
arantes555
ba4ca3e38e
Add target_temp_step to generic_thermostat ( #58691 )
...
* Add target_temp_step to generic_thermostat
* Add target_temp_step to generic_thermostat : fix default + add tests
2022-04-19 17:16:37 +03:00
Franck Nijhof
d65e12ab6e
Add clear_skipped service to update entity ( #70116 )
2022-04-19 16:11:16 +02:00
Poltorak Serguei
9d016dd434
Add Z-Wave.Me Fan support ( #69768 )
...
* Fan entity
* Fix union
* Fix union
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix percentage scale
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-19 13:06:31 +02:00
Franck Nijhof
0969e50553
Update Pillow to 9.1.0 ( #70273 )
2022-04-19 12:49:43 +02:00
Franck Nijhof
3869388f5f
Update sentry-sdk to 1.5.10 ( #70269 )
2022-04-19 12:49:28 +02:00
Simone Chemelli
23446fa1c0
Fix file size last_updated ( #70114 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-19 12:49:07 +02:00
Joakim Sørensen
9525077574
Add diagnostics platform to the Supervisor integration ( #70265 )
...
* Add diagnostics platform to the Supervisor integration
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-19 12:16:36 +02:00
Dave T
8245ebaef5
Correct grammar in notification description ( #70249 )
2022-04-19 11:12:24 +02:00
J. Nick Koston
95b98ac9f1
Revert "Revert "Use recorder executor in demo ( #69327 )" ( #69334 )" ( #69545 )
...
- We have found the issue causing the CI failures and its
being solved in #69410 .
This reverts commit 28350b9792
.
2022-04-19 11:09:16 +02:00
Robert Svensson
506be5a818
Enable strict typing for deCONZ platforms binary_sensor+fan+logbook+number ( #70171 )
2022-04-19 10:32:57 +02:00
Diogo Gomes
03874d1b65
Correct state restoring for Utility Meter sensors ( #66851 )
...
* fix merge
* backward compatability
* add status
* increase coverage
* increase further the coverage
* adds support for Decimal in SensorExtraStoredData
* more precise
* review
* don't restore broken last_reset
* increase coverage
* address review comments
* stale
* coverage increase
* Update homeassistant/components/utility_meter/sensor.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* catch corrupt files and respective tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-19 09:01:52 +02:00
Diogo Gomes
9dfd37c60b
Use CONF_NAME consistently in utility meter sensors with and without tariffs ( #69152 )
...
* apply name to tariff based sensors too
* change name without breaking entity_id
* address comments
2022-04-19 09:00:36 +02:00
jjlawren
c29a5dc3fd
Add guard for Sonos S1 radio show compatibility ( #70251 )
2022-04-19 08:56:03 +02:00
Kevin Worrel
16c6d79265
Screenlogic config: Filter unexpected host names ( #70256 )
2022-04-19 08:51:05 +02:00
Christopher Bailey
3fa3ee9ea2
Fix updating CameraZone coords for UniFi Protect ( #70260 )
2022-04-19 08:45:39 +02:00
hesselonline
84666ce05e
Rename wallbox non-config CONF_ variables ( #69737 )
2022-04-19 08:44:25 +02:00
J. Nick Koston
d03760d0bb
Switch to using ULIDs for context_ids ( #70246 )
2022-04-18 22:45:41 -07:00
Bram Gerritsen
1da7927fbb
Fix issue with turning the ambilight on after switched off ( #69132 )
...
* Refactor ambilight component. Fix issue with turning the ambilight on after switched off
* Move dataclass to original location. Add factory method
* Remove follow video effect list
* Fix log
* Remove follow video effect list
* Update homeassistant/components/philips_js/light.py
Co-authored-by: Joakim Plate <elupus@ecce.se>
* Update homeassistant/components/philips_js/light.py
Co-authored-by: Joakim Plate <elupus@ecce.se>
* Add missing typing
* Fix issues with restoring last state
Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-04-19 06:32:18 +02:00
J. Nick Koston
e70c8fa359
Refactor history_stats to minimize database access (part 1) ( #70134 )
2022-04-18 13:18:38 -10:00
IceBotYT
6c75eaa1bc
Add outage map alerts to PECO ( #69825 )
2022-04-18 23:22:14 +02:00
G Johansson
c87992715f
Add update platform for Sensibo ( #70180 )
2022-04-18 23:17:39 +02:00