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
Jan Bouwhuis
f4fbc083e6
Tasmota - Cleanup tests involving legacy fan speed ( #55202 )
2021-08-25 13:54:36 +02:00
Erik Montnemery
38f0020619
Improve Tasmota MQTT discovery flow ( #55147 )
2021-08-24 18:08:17 +02:00
Erik Montnemery
828d862339
Fix Tasmota MQTT discovery flow ( #55140 )
2021-08-24 13:23:26 +02:00
Erik Montnemery
bca9360d52
Remove last_reset attribute from tasmota energy sensors ( #54836 )
2021-08-18 09:25:33 -07:00
Erik Montnemery
2e44e256f0
Improve typing of Tasmota (3/3) ( #52748 )
2021-07-12 19:17:44 +02:00
Erik Montnemery
4d32e1ed01
Minor improvements of MQTT typing ( #52578 )
...
* Minor improvements of MQTT typing
* Tweak
2021-07-06 14:38:48 +02:00
Erik Montnemery
c86b563fe1
Bump hatasmota to 0.2.19 ( #52246 )
2021-06-28 15:49:25 +02:00
Erik Montnemery
04b425ed89
Use HS color instead of RGB color for Tasmota lights ( #52052 )
2021-06-22 20:40:59 +02:00
Erik Montnemery
67f3e717a8
Add support for color_mode white to tasmota light ( #51608 )
2021-06-08 17:43:04 +02:00
Erik Montnemery
16e90f12ca
Add last_reset property to Tasmota energy sensors ( #51107 )
...
* Add last_reset property to Tasmota energy sensors
* Correct device class for energy sensors
2021-05-26 17:58:06 +02:00
Erik Montnemery
97d7037d12
Bump hatasmota to 0.2.13 ( #50662 )
...
* Bump hatasmota to 0.2.13
* Process review comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Tweak brightness compensation, improve tests
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-15 19:36:08 +02:00
Erik Montnemery
e57634b1e0
Bump hatasmota to 0.2.12 ( #50372 )
2021-05-09 22:57:27 +03:00
Erik Montnemery
4136f9f203
Fix Tasmota color scaling and RGBW lights ( #50120 )
2021-05-05 17:59:26 +02:00
Erik Montnemery
93572bfe02
Add color_mode support to tasmota light ( #49599 )
2021-05-05 13:04:37 +02:00
Ville Skyttä
77d5244577
Use device registry CONNECTION_* constants ( #49923 )
2021-04-30 23:58:50 +02:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Ville Skyttä
a396619251
Use disabled_by constants ( #49584 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
Mick Vleeshouwer
461e766a93
Add device class CO2 to various integrations ( #47676 )
...
* Add device class CO2 to Fibaro
* Add device class CO2 to Awair
* Add device class CO2 to Tasmota
* Add device class CO2 to Netatmo
* Add device class CO2 to Ambient Station
* Update Tasmota tests
* Remove icon
2021-03-10 12:52:55 +01:00
Erik Montnemery
b3fecb1c95
Update tests t-z to use async_get() instead of async_get_registry() ( #47655 )
2021-03-09 14:25:03 +01:00
Rene Lehfeld
2272925699
Add force_update to tasmota sensors ( #47052 )
...
* Add force update also to non-binary sensors as e.g. POWER Measurement agerage cannot be calculated otherwise. This is the same behavior as set with the obsolete tasmota detection
* add tests in binary_sensor and test_sensor for force_update flag
* satisfy flake8
* next try for force_update test but this time on the entity object which is the correct level
* once again satisfy flake8
* one more try for a test
* fix typo
* satisfy black
2021-03-02 18:57:14 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
J. Nick Koston
bd87047ff2
Update tasmota to use new fan entity model ( #45877 )
2021-02-22 21:27:21 -06:00
Erik Montnemery
c8e04ee960
Bump hatasmota to 0.2.9 ( #46561 )
2021-02-15 12:16:28 +01:00
Erik Montnemery
5711d61b38
Bump hatasmota to 0.2.7 ( #45625 )
2021-01-28 08:55:22 +01:00
Erik Montnemery
852136ccfe
Bump hatasmota to 0.2.5 ( #45297 )
2021-01-18 22:26:33 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00