Commit Graph

84 Commits (7e70252de58d6dfa857eb35c1d21a599b0fc655f)

Author SHA1 Message Date
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Erik Montnemery 2720ba2753
Move temperature conversions to sensor base class (4/8) ()
* Move temperature conversions to entity base class (4/8)

* Fix litterrobot sensor

* Fix tests
2021-08-11 21:17:47 +02:00
Marc Mueller 268ade6b76
Use EntityDescription - metoffice () 2021-07-27 16:22:01 +02:00
Ian Harcombe 74023fce21
Fix for issue ()
Logs from issue  show that not only ints are appearing in the values for the forecast data now, so change the check from just for int, to see whether the value has a "value" attribute before dereferencing it.
2021-07-22 09:24:47 -07:00
Marc Mueller f5480481cd
Use NamedTuple - metoffice () 2021-07-21 22:25:38 -07:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
GitHub Action 531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
GitHub Action 62a2efaf27 [ci skip] Translation update 2021-07-16 00:10:34 +00:00
avee87 5ff7c7708d
Use iso-formatted times in MetOffice weather forecast ()
* Fixed raw datetime in MetOffice weather forecast

* Use datetime in sensor attribute
2021-07-08 10:01:06 +02:00
avee87 2d1744c573
Add forecasts to MetOffice integration ()
* MetOfficeData now retrieves both 3-hourly and daily data (full forecast data, as well as "now" snapshot) on each update

* Bump datapoint API up to latest version

* Create 2 sets of sensors - one of each set for 3-hourly and for daily data (same ones initially enabled, for now)

* Create two entities (one each for 3-hourly and daily data) and also add in the forecast data for each dataset

* Testing changes to accommodate now having two sets of everything for 3-hourly and daily update data

* Removed unused import (reported by flake8)

* As per conversation with @MatthewFlamm leave the 3-hourly entity's unique_id unchanged (although the display name is changed)

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Make some improvements based on reviews

Make some improvements and fix up the formatting/linting failures.

* Added more test coverage

* import asyncio

* Try to fix test

* Rewrote everything using CoordinatorEntity

* Fixed config flow

* Fixed lint errors

Co-authored-by: MrHarcombe <ian.harcombe@gmail.com>
Co-authored-by: Henco Appel <hencoappel+github@gmail.com>
2021-06-27 15:04:42 -04:00
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
tkdrob d1c4d0de49
Use bool annotations for setup entries () 2021-05-27 17:39:06 +02:00
Franck Nijhof a6206b2819
Clean up connection classes in integrations M-O () 2021-04-30 21:03:37 -10:00
J. Nick Koston b10534359b
Reduce config entry setup/unload boilerplate K-M () 2021-04-27 18:49:13 +02:00
jan iversen 9410aefd0d
Integrations m*: Rename HomeAssistantType to HomeAssistant. () 2021-04-22 14:53:37 -07:00
Franck Nijhof 7264c95217
Clean up superfluous integration setup - part 6 () 2021-04-16 09:23:27 -07:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
HomeAssistant Azure a0483165da [ci skip] Translation update 2021-04-01 00:03:55 +00:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 ()
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Erik Montnemery fdf97eaca3
Migrate integrations i-m to extend SensorEntity () 2021-03-22 19:59:03 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery 14a59d290a
Update integrations j-o to override extra_state_attributes() () 2021-03-11 20:11:25 +01:00
Quentame 198ecb0945
Uniformize platform setup ()
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
HomeAssistant Azure 0cb1f61deb [ci skip] Translation update 2021-02-21 00:07:04 +00:00
Paulus Schoutsen 959ed6d077 Update translations 2021-02-03 11:46:49 +01:00
HomeAssistant Azure 5bdf022bf2 [ci skip] Translation update 2020-12-20 00:04:36 +00:00
HomeAssistant Azure 848224262c [ci skip] Translation update 2020-12-10 00:03:01 +00:00
HomeAssistant Azure 9c63fbfcb1 [ci skip] Translation update 2020-12-07 00:04:18 +00:00
springstan dd4f41c1db
Use weather attribute conditions constants () 2020-11-20 21:04:03 +01:00
HomeAssistant Azure eebf0ef336 [ci skip] Translation update 2020-11-08 00:04:05 +00:00
HomeAssistant Azure 57c6bb96f4 [ci skip] Translation update 2020-11-07 00:04:02 +00:00
HomeAssistant Azure 9298fec345 [ci skip] Translation update 2020-11-05 00:10:11 +00:00
HomeAssistant Azure c2a9f2ae52 [ci skip] Translation update 2020-10-26 00:03:36 +00:00
HomeAssistant Azure b102ad731f [ci skip] Translation update 2020-10-22 00:09:52 +00:00
HomeAssistant Azure 994ae09f69 [ci skip] Translation update 2020-10-15 00:03:50 +00:00
HomeAssistant Azure 1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
Philip Allgaier 625bbe6238
Cleanup unused loggers (components A-M) () 2020-10-12 16:59:05 +02:00
HomeAssistant Azure f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +00:00
HomeAssistant Azure 80522f1bdc [ci skip] Translation update 2020-10-11 00:03:37 +00:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
HomeAssistant Azure 29aea5a66c [ci skip] Translation update 2020-10-09 00:04:33 +00:00
HomeAssistant Azure d73d36d0cd [ci skip] Translation update 2020-10-08 00:06:03 +00:00
HomeAssistant Azure 486c0b644a [ci skip] Translation update 2020-10-07 00:06:20 +00:00
SNoof85 3e2b95949f
Use reference strings in Metoffice () 2020-10-06 10:26:49 +02:00
SNoof85 480066ba63
Add longitude and latitude common strings () 2020-10-01 15:36:57 +02:00
HomeAssistant Azure 2b00d28af9 [ci skip] Translation update 2020-09-27 00:06:49 +00:00
HomeAssistant Azure 75659ff787 [ci skip] Translation update 2020-09-23 00:05:01 +00:00
HomeAssistant Azure f28b7f2187 [ci skip] Translation update 2020-09-16 00:09:01 +00:00
HomeAssistant Azure d0f4b23063 [ci skip] Translation update 2020-09-15 00:09:18 +00:00