Franck Nijhof
4335a7c653
Remove invalid AQI unit from Environment Canada ( #85183 )
2023-01-05 09:02:17 -07:00
epenet
9682249830
Use new device class in environment canada ( #83297 )
2022-12-05 17:08:00 +01:00
epenet
4bd686bdb1
Use SensorDeviceClass.DISTANCE in components ( #79285 )
...
* Use SensorDeviceClass.DISTANCE in components
* Adjust mysensors
2022-09-29 12:19:34 +02:00
epenet
0e764b57c2
Use SensorDeviceClass.SPEED in components ( #79262 )
2022-09-29 09:37:21 +02:00
Glenn Waters
96ecbe4388
Migrate Environment Canada to new entity naming style ( #75024 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-12 20:45:38 +02:00
Glenn Waters
69461f115d
Environment Canada: allow AQHI to pull from forecast when current not available ( #69142 )
...
* Allow AQHI to pull from forecast when current not available.
* Remove redundant check.
* Remove lambda.
2022-04-03 11:59:27 +03:00
Glenn Waters
cf7148c3f8
Decouple initial refreshes in setup for Environment Canada ( #64946 )
2022-01-25 21:03:18 -08:00
Glenn Waters
f5f89db8a4
Add AQHI sensor for Environment Canada ( #63644 )
2022-01-19 10:54:57 +01:00
Glenn Waters
128433758e
Add SensorEntityClass support for Environment Canada integration ( #58615 )
2022-01-07 18:28:13 +01:00
epenet
d24ebc3c10
Add sensor setup type hints [e-f] ( #63317 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:19:11 +01:00
Robert Hillis
4e2195baa1
Remove deprecated yaml config from environment canada ( #61839 )
2021-12-19 13:40:39 +01:00
epenet
8c39eade5e
Use SensorDeviceClass in environment_canada ( #61390 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-10 09:14:06 +01:00
Glenn Waters
de4a4c3ba9
Add async lib and DataUpdateCoordinator for environment_canada ( #57746 )
2021-10-26 14:23:43 -07:00
Marc Mueller
62c20860ac
Use assignment expressions 22 ( #57971 )
2021-10-21 08:33:10 +02:00
Glenn Waters
d0b37229dd
Switch to config_flow for Environment Canada ( #57127 )
...
* Add config_flow to Environment Canada
* Add unique_id
* Remove erroneous directory.
* Tests working!!
* Add back setup.
* First cut of import.
* Temp
* Tweak names.
* Import config.yaml.
* Clean up imports.
* Import working! Some refactor to clean it up.
* Add import test.
* Small optimization.
* Fix comments from code review.
* Remove CONF_NAME and config_flow for it.
* Fixup strings to match new config_flow.
* Fixes for comments from last review.
* Update tests to match new import code.
* Clean up use of CONF_TITLE; fix lint error on push.
* Phew. More cleanup on import. Really streamlined now!
* Update tests.
* Fix lint error.
* Fix lint error, try 2.
* Revert unique_id to use location as part of ID.
* Fix code review comments.
* Fix review comments.
2021-10-11 17:33:29 +02:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) ( #54468 )
2021-08-11 18:57:12 +02:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) ( #53685 )
2021-07-30 01:20:03 +02:00
Erik Montnemery
9b8a776001
Set device_class on temperature sensors A-E ( #49524 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:45:29 +02:00
Erik Montnemery
23b562386f
Migrate integrations d-e to extend SensorEntity ( #48211 )
2021-03-22 12:52:29 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +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
springstan
92379ad8d2
Use list literal without using dict.keys() ( #42573 )
2020-10-30 09:19:13 -05:00
Martin Hjelmare
23510e6839
Disable env_canada pylint import error ( #38868 )
...
* Disable env_canada pylint import error
* Disable pylint in camera and sensor too
2020-08-14 11:15:45 +02:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
michaeldavie
bd00453cef
Bump env_canada to 0.0.35 to address issue 31924 ( #32077 )
...
* Bump env_canada to 0.0.35, remove details from alerts
* Black
2020-02-22 20:32:19 -08:00
springstan
1ee7c483a7
Update file headers and outdated documentation links ( #32022 )
...
* Update documentation links
* Update file headers v2
2020-02-20 15:29:46 -08:00
springstan
58ba6052e2
Move imports to top for environment_canada ( #29458 )
2019-12-04 21:18:52 -08:00
michaeldavie
1322661ee0
Handle None when trucating long Environment Canada state values ( #29208 )
...
* Handle None when trucating long state values, add info message
* Black
2019-11-29 04:13:21 +01:00
michaeldavie
d736c5f648
Truncate sensor state values ( #28788 )
2019-11-16 10:56:54 +01:00
michaeldavie
fd359c6222
Fix Environment Canada weather forecast, retain icon_code sensor ( #26646 )
...
* Bump env_canada to 0.0.25
* Keep icon_code
2019-09-15 11:55:20 +02:00
Franck Nijhof
617133e465
Correct file permissions, removing executable bits ( #26376 )
2019-09-03 14:13:44 +02:00
michaeldavie
fc716a45c9
Updates to Environment Canada components ( #25973 )
...
* Bump env_canada to 0.0.21
* Add timestamp attribute to camera
* Bump env_canada to 0.0.23
* Clean up displayed values
* Validate radar station code
* Bump env_canada to 0.0.24
* Black
* Remove default "None" from sensor
* Switch to cv.matches_regex
2019-08-17 21:19:44 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
michaeldavie
59c62a261b
Add scan interval to config of Environment Canada sensor ( #25414 )
...
* Make refresh period configurable
* Remove throttle, set SCAN_INTERVAL
* Move SCAN_INTERVAL to module
2019-07-25 13:56:33 +02:00
michaeldavie
a147a189ca
Update Environment Canada platforms ( #24884 )
...
* Add support for French
* Move labels to env_canada
* Bump env_canada to 0.0.17, change update frequency to 1 minute
* Update requirements_all.txt
* Set entity IDs separate from labels
* Flake error
* Remove monitored conditions
* Use next hourly forecast for missing conditions
* Switch sensors to unique_id
* Flake error
* Requested changes
* Simplify setting location parameters
2019-07-13 18:14:29 +02:00
michaeldavie
fcfbdd2d89
Add Environment Canada weather, sensor, and camera platforms ( #21110 )
...
* Added Environment Canada weather platform
* Added Environment Canada weather platform
* Migrate to new folder structure
* Migrate to new folder structure
* Fix updates
* Fix updates again
* Bump env_canada to 0.0.4
* Bump env_canada to 0.0.4
* Bump env_canada to 0.0.4 in requirements_all.txt
* Change daily forecast timestamp and high/low test
* Change daily forecast timestamp and high/low test
* Bump env_canada to 0.0.5
* Break alerts into multiple sensors, bump env_canada to 0.0.6
* Bump env_canada to 0.0.7
* Remove blank line
* Remove 'ec' sensor prefix, bump env_canada to 0.0.8
* Corrections
* Change to manifests.json
* Add docstring to __init.py__
* Update CODEOWNERS
* pylint correction
* pylint correction
* Add alert details, bump env_canada to 0.0.9
* Update requirements_all.txt
* Update .coveragerc
* Bump env_canada to 0.0.10
* Update requirements_all.txt
2019-06-06 11:47:27 -07:00