Robert Resch
9830f77e9e
Deprecate deprecated cover constants ( #106098 )
2023-12-20 18:04:44 +01:00
Robert Resch
c9c072ff3e
Deprecate deprecated fan constants ( #106111 )
2023-12-20 17:54:43 +01:00
Erik Montnemery
b5af987a18
Bump hatasmota to 0.8.0 ( #105440 )
...
* Bump hatasmota to 0.8.0
* Keep devices with deep sleep support always available
* Add tests
2023-12-10 23:16:06 +01:00
Paul Bottein
c98c18f25e
Return 'None' for light attributes when off instead of removing them ( #101946 )
2023-10-19 01:08:08 +02:00
Erik Montnemery
5bcb4f07a0
Bump hatasmota to 0.7.3 ( #100169 )
2023-09-12 09:58:05 +02:00
Erik Montnemery
18e08bc79f
Bump hatasmota to 0.7.2 ( #100129 )
2023-09-11 11:35:48 -05:00
Erik Montnemery
b317e04cf1
Bump hatasmota to 0.7.1 ( #99818 )
2023-09-08 21:01:34 +02:00
Erik Montnemery
f07724ff52
Add additional tasmota tests ( #98695 )
2023-08-20 14:02:53 +02:00
Erik Montnemery
3fc043d99e
Deduplicate Tasmota sensor tests ( #98628 )
2023-08-20 09:04:48 +02:00
Erik Montnemery
90b9764578
Bump hatasmota to 0.7.0 ( #98636 )
...
* Bump hatasmota to 0.7.0
* Update tests according to new entity naming
2023-08-18 19:24:33 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Erik Montnemery
6183a36fce
Replace assert_lists_same with pytest_unordered in integrations t-z ( #94903 )
2023-06-20 20:23:49 +02:00
Ville Skyttä
1ce74ba25c
Import `util.dt` as `dt_util` in `components/[t-z]*` ( #93763 )
2023-05-29 23:00:43 +02:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ( #93568 )
...
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures ( #93519 )
2023-05-25 13:45:19 +02:00
Erik Montnemery
5843c1fa3b
Bump hatasmota to 0.6.5 ( #92585 )
...
* Bump hatasmota to 0.6.5
* Fix tests
2023-05-05 08:40:30 -04:00
DerEnderKeks
9fecdddf01
Don't use force_update for Tasmota sensors ( #85943 )
...
* fix: don't use force_update for Tasmota sensors
* Update binary_sensor.py
* Update test_binary_sensor.py
* Update test_sensor.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-28 17:14:52 +02:00
epenet
88cfbf6a34
Add type hints to integration tests (part 22) ( #88234 )
2023-02-16 14:08:03 +01:00
Franck Nijhof
d3ed8de232
Update Ruff to v0.0.247 ( #88210 )
...
* Update Ruff to v0.0.247
* Fix new found violations
2023-02-15 16:46:03 -05:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Franck Nijhof
e50a531cd9
Code styling tweaks to the tests - Part 2 ( #86662 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00
Erik Montnemery
41341c76cf
Restore speed when turning a Tasmota fan back on ( #84337 )
2022-12-22 09:31:14 +01:00
Erik Montnemery
6094c00705
Warn user if Tasmota devices are configured with invalid MQTT topics ( #77640 )
2022-09-18 19:50:43 +02:00
Erik Montnemery
d18097580e
Bump hatasmota to 0.6.0 ( #77560 )
2022-08-31 14:23:57 +02:00
Erik Montnemery
60c8d95a77
Remove white_value support from light ( #76926 )
2022-08-18 08:21:05 -04:00
J. Nick Koston
666f715e76
Avoid importing MQTT into core for ServiceInfo dataclass ( #74418 )
...
* Avoid importing MQTT into core for discovery dataclass
Likely fixes #73863
* relo
* adjust
* rename
* rename
* rename
* adjust missed imports
* drop compat
* fix conflict correctly
* Update homeassistant/helpers/config_entry_flow.py
* fix black from trying to fix the conflict in github
2022-07-14 11:09:09 -05:00
Jan Bouwhuis
52561ce076
Update MQTT tests to use the config entry setup ( #72373 )
...
* New testframework and tests for fan platform
* Merge test_common_new to test_common
* Add alarm_control_panel
* Add binary_sensor
* Add button
* Add camera
* Add climate
* Add config_flow
* Add cover
* Add device_tracker_disovery
* Add device_trigger
* Add diagnostics
* Add discovery
* Add humidifier
* Add init
* Add lecacy_vacuum
* Add light_json
* Add light_template
* Add light
* Add lock
* Add number
* Add scene
* Add select
* Add sensor
* Add siren
* Add state_vacuum
* Add subscription
* Add switch
* Add tag
* Add trigger
* Add missed tests
* Add another missed test
* Add device_tracker
* Remove commented out code
* Correct tests according comments
* Improve mqtt_mock_entry and recover tests
* Split fixtures with and without yaml setup
* Update fixtures manual_mqtt
* Update fixtures mqtt_json
* Fix test tasmota
* Update fixture mqtt_room
* Revert fixture changes, improve test
* re-add test
2022-06-02 14:24:46 +02:00
Erik Montnemery
c8f677ce4c
Bump hatasmota to 0.5.1 ( #72696 )
2022-05-30 11:40:36 +02:00
Erik Montnemery
08ee276277
Add tilt support to Tasmota covers ( #71789 )
...
* Add tilt support to Tasmota covers
* Bump hatasmota to 0.5.0
2022-05-13 22:03:21 +03:00
Theo Arends
31e3f4892e
Bump hatasmota to 0.4.1 ( #70799 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-27 19:05:42 +02:00
epenet
abdf5bb86a
Use light enums in tasmota ( #70788 )
2022-04-26 19:04:12 +02:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
Erik Montnemery
f40932853f
Bump hatasmota to 0.4.0 ( #67421 )
2022-03-01 13:18:49 +02:00
Erik Montnemery
f9616c2ae3
Remove custom WS command for removing Tasmota devices ( #67382 )
2022-02-28 18:13:38 +01:00
Erik Montnemery
eb4bc273af
Improve Tasmota device removal ( #66811 )
2022-02-23 20:21:28 +01:00
epenet
8234625d30
Use Domain not Platform on test service calls ( #65508 )
...
* Adjust atag
* adjust broadlink
* Adjust onewire
* Adjust plex
* Adjust renault
* Adjust tasmota
* Adjust zha
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:16:35 +01:00
Franck Nijhof
60b2cdd069
Allow binary sensor state to be None ( #60193 )
2021-12-22 12:24:29 +01:00
Robert Hillis
550fe18603
Use enums in tasmota tests ( #62150 )
...
* Use enums in tasmota tests
* platform enums
2021-12-21 23:01:07 +01:00
Ville Skyttä
ea58432721
Use DeviceAutomationType in tests/components/[s-z]* ( #62450 )
2021-12-21 11:56:00 +01:00
Ville Skyttä
5bf67cac66
Use RegistryEntryDisabler ( #60436 )
2021-12-15 23:25:40 +02:00
Erik Montnemery
5161126b58
Bump hatasmota to 0.3.1 ( #61120 )
2021-12-07 08:07:31 +01:00
epenet
b65b25c1bb
Move MqttServiceInfo to init.py ( #60905 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-12-03 19:34:48 +01:00
epenet
4480e1255a
Use MqttServiceInfo in tasmota ( #60113 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 22:07:10 +01:00
Erik Montnemery
39867c9b83
Convert RGBW and RGBWW colors in light turn_on calls ( #58680 )
2021-10-29 15:48:11 +02:00
Erik Montnemery
5851d5246e
Bump hatasmota to 0.3.0 ( #58592 )
2021-10-28 14:23:26 +02:00
Erik Montnemery
2bae113748
Mark Tasmota status sensors as diagnostic sensors ( #57958 )
...
* Mark Tasmota status sensors as diagnostic sensors
* Disable IP and firmware version sensors by default
2021-10-18 19:33:26 -07:00
Erik Montnemery
47fdf078e4
Bump hatasmota to 0.2.21 ( #57966 )
2021-10-18 18:41:18 +02:00
Erik Montnemery
786e1f9b6a
Add configuration url to Tasmota ( #57957 )
2021-10-18 14:53:47 +02:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00