Joost Lekkerkerker
fbe2228c3f
Extract Ambient Station base entity to separate file ( #99142 )
...
* Extract Ambient Station entity to separate file
* Add to coveragerc
2023-08-27 20:09:10 +02:00
Joost Lekkerkerker
d975e93abc
Add entity translations for Ambient station ( #98075 )
...
* Add entity translations for Ambient station
* Fix missed key
2023-08-09 01:16:55 +02:00
J. Nick Koston
a2555e71e2
Small cleanups to ambient station ( #97421 )
2023-07-28 16:30:29 -05:00
Aaron Bach
020d52c3e2
Fix state class issues in Ambient PWS ( #86758 )
...
fixes undefined
2023-01-27 00:14:46 +01:00
epenet
4c8e3aa7c4
Remove lumen from Illuminance units ( #84386 )
2022-12-27 14:25:47 +01:00
epenet
911863ebf4
Use Irradiance unit and device class in integrations ( #83576 )
2022-12-08 23:51:47 +01:00
epenet
f1ce8a9004
Use new device class in ambient_station ( #83322 )
...
* Use new device class in ambient_station
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
* Update homeassistant/components/ambient_station/sensor.py
2022-12-05 22:02:04 +01:00
epenet
7796f361fc
Use precipitation_intensity class in integrations ( #80615 )
2022-10-26 13:32:06 +02:00
epenet
7838bb3ebe
Replace new PRECIPITATION_INTENSITY with enum ( #80653 )
2022-10-25 16:45:45 +02:00
epenet
62b0735822
Adjust precipitation units in components ( #79783 )
...
* Adjust precipitation units in components
* Don't update darksky
2022-10-19 15:09:05 +02:00
epenet
0e764b57c2
Use SensorDeviceClass.SPEED in components ( #79262 )
2022-09-29 09:37:21 +02:00
Aaron Bach
c9feda1562
Fix missing state classes on various Ambient PWS entities ( #76683 )
2022-08-14 21:13:11 -10:00
Robert Hillis
8ecbb85852
Use generators for async_add_entities in Ambient Station ( #76586 )
2022-08-10 19:05:09 -06:00
Aaron Bach
a91ca46342
Fix incorrect Ambient PWS lightning strike sensor state classes ( #75520 )
2022-07-20 19:29:23 +02:00
Aaron Bach
c92936cc7b
Migrate Ambient PWS to new entity naming style ( #74743 )
2022-07-10 21:21:21 +02:00
Aaron Bach
b8420a7e3b
Add missing Ambient PWS sensors ( #67322 )
2022-03-04 13:21:11 -07:00
Marc Mueller
d61a96f0ab
Use correct relative imports [a-m] ( #63470 )
2022-01-05 17:28:12 +01:00
Aaron Bach
3a3a6ed464
Fix incorrect state class for Ambient PWS rain rate sensor ( #62946 )
2021-12-28 09:54:18 -07:00
epenet
8a11cf3d1f
Use new DeviceClass, StateClass and EntityCategory enums in ambient_station ( #61266 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-08 13:06:31 -07:00
Aaron Bach
394ccae8a1
Migrate appropriate Ambient PWS sensors to use datetime state objects ( #59942 )
2021-11-19 18:06:39 -07:00
Aaron Bach
61e093cecd
Make sure Ambient PWS data storage conforms to standards ( #57807 )
2021-10-22 12:17:25 +02:00
Aaron Bach
4b68700763
Add long-term statistics for Ambient PWS sensors ( #55412 )
2021-09-30 11:20:14 +02:00
Aaron Bach
4aed0b6ccf
Use EntityDescription - ambient_station ( #55366 )
2021-08-28 21:31:18 -06:00
Erik Montnemery
4e07ab1b32
Move temperature conversions to sensor base class (1/8) ( #48261 )
...
* Move temperature conversions to entity base class (1/8)
* Update integrations a-c
* Leave old temperature conversion until all integrations are migrated
* tweak
* Use contextlib.suppress
* Remove the MeasurableUnitEntity mixin
* Address comments, add tests
* Fix f-string
* Drop deprecation warning from base entity class
* Update with _attr-shorthand
* Fix rebase mistakes
* Fix additional rebase mistakes
* Only report temperature conversion once
* Fix additional rebase mistakes
* Format homeassistant/components/bbox/sensor.py
* Fix check for overidden _attr_state
* Remove test workarounds from implementation
* Remove useless None-check
* Tweaks
* Migrate new sensors a-c
* Update climacell
* Push deprecation of temperature conversion forward
* Override __repr__ in SensorEntity
* Include native_value in SensorEntity attributes
* Pylint
* Black
* Black
* Fix rebase mistakes
* black
* Fix rebase mistakes
* Revert changes in august/sensor.py
* Revert handling of unit converted restored state
* Apply code review suggestion
* Fix arlo test
2021-08-11 10:45:05 +02:00
Aaron Bach
9fb05736e4
Add type annotations to Ambient PWS ( #52596 )
2021-07-06 20:19:58 +02:00
Aaron Bach
cb2b6f5ff4
Remove redundant property definitions in Ambient PWS ( #52350 )
2021-07-01 00:30:54 +02:00
Aaron Bach
efa6079c62
Fix incorrect constant import in Ambient PWS ( #48574 )
2021-04-01 08:00:39 +02: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
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
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
Aaron Bach
d98432c328
Add cleanup to Ambient PWS ( #32888 )
2020-03-17 07:02:05 -04:00
Aaron Bach
03d8abe1ba
Fix unhandled exception in Ambient PWS_URL ( #32238 )
...
* Fix unhandled exception in Ambient PWS_URL
* Comment update
* Be more explicit
2020-02-27 21:40:51 -08:00
Franck Nijhof
fb35d382e1
Remove all empty *_setup_platform() from integrations ( #31025 )
...
* Remove all empty *_setup_platform() from integrations
* Fix tests for smartthings
* Fix tests for heos
2020-01-21 12:38:38 +01:00
Aaron Bach
9bfcd04a4f
Fix sensor type creation with multiple Ambient weather stations ( #30850 )
2020-01-16 11:37:28 -08:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Aaron Bach
693fa15924
Return Ambient PWS brightness sensor unit and remove CONF_MONITORED_CONDITIONS ( #25284 )
...
* Revert "Change Ambient solar radiation units to lx (#24690 )"
This reverts commit 40fa4463de
.
* Re-add sensor for Ambient PWS outdoor brightness (W/m^2)
* Corrected available and comments
* Member feedback
* Member comments
2019-07-20 06:32:33 +02:00
Aaron Bach
40fa4463de
Change Ambient solar radiation units to lx ( #24690 )
2019-06-21 23:12:16 -06:00
Aaron Bach
3da3612c7b
Add device class support for Ambient PWS sensors ( #24677 )
2019-06-21 10:27:53 -06:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Aaron Bach
d24ccbd1e6
Fix binary sensor in Ambient PWS ( #20801 )
...
* Fix binary sensor in Ambient PWS
* Correctly load entities
* Corrected what on and off means for existing sensor
* Make sure to return a boolean
* Member comments
* Binary sensor doesn't need state property
2019-02-07 14:35:23 -07:00
Aaron Bach
a05031c22e
Fix temperature unit conversion in Ambient PWS ( #20723 )
2019-02-03 15:23:30 -08:00
Aaron Bach
2c7060896b
Make Ambient PWS async and cloud-push ( #20332 )
...
* Moving existing sensor file
* Initial functionality in place
* Added test for config flow
* Updated coverage and CODEOWNERS
* Linting
* Linting
* Member comments
* Hound
* Moving socket disconnect on HASS stop
* Member comments
* Removed unnecessary dispatcher call
* Config entry fix
* Added support in config flow for good accounts with no devices
* Hound
* Updated comment
* Member comments
* Stale docstrings
* Stale docstring
2019-01-28 15:35:39 -08:00