J. Nick Koston
51be2f860a
Reduce boilerplate to setup config entry platforms A-C ( #49681 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-26 07:46:55 -10:00
HomeAssistant Azure
020d456889
[ci skip] Translation update
2021-04-21 00:03:47 +00:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Álvaro Fernández Rojas
e30cf88459
AEMET town timestamp should be UTC ( #48916 )
...
AEMET OpenData doesn't clarify if the hourly data timestamp is UTC or not, but
after correctly formatting the town timestamp in ISO format, it is clear that
the timestamp is provided as UTC value.
Therefore, the only values not provided as UTC are the ones related to the
specific daily and hourly forecast values.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-04-09 12:37:46 +02:00
Álvaro Fernández Rojas
2c61c0f258
Fix AEMET town timestamp format ( #48647 )
...
Datetime should be converted to ISO format.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-04-03 11:17:17 +02:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ( #48488 )
...
* 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
Franck Nijhof
bb9da22a84
Clean up superfluous integration setup - part 3 ( #48484 )
2021-03-29 13:23:44 -10:00
J. Nick Koston
a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate ( #48451 )
2021-03-29 12:51:39 -10:00
Álvaro Fernández Rojas
23d7330a2f
Discard outdated data reported by AEMET stations ( #48417 )
...
* aemet: achieve 100% test coverage
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aemet: discard outdated station data
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aemet: fix AemetSensor/AemetForecastSensor inheritance
AbstractAemetSensor already inherits SensorEntity.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-27 22:33:24 +01:00
Erik Montnemery
a09c8eecb7
Fix some sensor classes ( #48254 )
...
* Fix some sensor classes
* Tweak
* Tweak
2021-03-23 15:56:33 +01:00
HomeAssistant Azure
55b689b464
[ci skip] Translation update
2021-03-23 00:03:29 +00:00
Erik Montnemery
9e9ba53f0e
Move SensorEntity last in the inheritance tree ( #48230 )
2021-03-22 20:05:13 +01:00
Erik Montnemery
e0cd7072d6
Migrate integrations a-c to extend SensorEntity ( #48210 )
2021-03-22 12:37:16 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
HomeAssistant Azure
4306c8fbb4
[ci skip] Translation update
2021-03-17 00:03:55 +00:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Álvaro Fernández Rojas
5bc0e9a50f
Fix aemet temperatures with a value of 0 ( #47680 )
...
* aemet: catch TypeError exceptions
format_float() and format_int() should also catch possible TypeError
exceptions.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aemet: correctly parse temperatures with a value of 0
Right now, when a temperature with a value of 0 is provided by the API, the if
condition isn't satisfied, return None instead of 0.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aemet: group format int/float exceptions
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-03-10 10:25:04 +01:00
Diogo Gomes
d3bd2378ba
Correct weather entities forecast time ( #47565 )
2021-03-07 16:07:02 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* 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
44ed6cda40
[ci skip] Translation update
2021-03-01 00:09:01 +00:00
HomeAssistant Azure
9159f54900
[ci skip] Translation update
2021-02-24 00:04:14 +00:00
HomeAssistant Azure
0cb1f61deb
[ci skip] Translation update
2021-02-21 00:07:04 +00:00
HomeAssistant Azure
d9ce7db554
[ci skip] Translation update
2021-02-19 00:03:06 +00:00
HomeAssistant Azure
1bb535aa67
[ci skip] Translation update
2021-02-16 00:03:57 +00:00
HomeAssistant Azure
0af634a9f8
[ci skip] Translation update
2021-02-15 00:14:36 +00:00
Álvaro Fernández Rojas
eecf07d7df
Add AEMET OpenData integration ( #45074 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 21:53:28 +01:00