epenet
f4c13645d2
Add support for CCF volume unit ( #84029 )
2022-12-19 14:57:04 +01:00
epenet
b63359b186
Use UnitOfVolume in energy integration ( #83641 )
2022-12-09 10:39:40 -05:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
Erik Montnemery
607a0e7697
Reduce size of get_statistics_during_period WS API response ( #82131 )
2022-11-16 17:36:30 +01:00
Paulus Schoutsen
a8c527f6f3
Add unit conversion for energy costs ( #81379 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-02 12:18:50 +01:00
Erik Montnemery
95fc641949
Add support to the energy integration for tracking water usage ( #80888 )
2022-10-26 21:20:52 +02:00
epenet
842cb18d39
Migrate energy units to an enum ( #80998 )
2022-10-26 13:56:51 +02:00
Erik Montnemery
727eccfec4
Add GJ as supported unit for energy sensors ( #80870 )
...
* Add GJ as supported unit for energy sensors
* Update homeassistant/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-10-25 16:43:00 +02:00
epenet
2c43606922
Add websocket type hints in components ( #80654 )
...
* Add websocket type hints in components
* Adjust
* Apply suggestion
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-20 13:41:14 +02:00
epenet
5442d6af01
Improve msg type hint in websocket commands ( #80530 )
2022-10-18 16:41:17 +02:00
Erik Montnemery
5d7756885b
Normalize to kWh when handling WS energy/fossil_energy_consumption ( #79649 )
...
* Normalize to kWh when handling WS energy/fossil_energy_consumption
* Improve test
2022-10-05 16:27:08 +02:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
Erik Montnemery
6b0c9b6a6a
Simplify energy settings ( #78947 )
2022-09-22 21:58:15 -04:00
Erik Montnemery
8a9edea2c1
Fix calculating gas cost for gas measured in ft3 ( #78327 )
2022-09-12 21:24:49 -04:00
Erik Montnemery
687ac91947
Support MWh for gas consumption sensors ( #76016 )
2022-08-01 14:22:24 +02:00
Marc Mueller
3193ea3359
Fix type narrowing in energy integration ( #75462 )
2022-07-20 04:00:14 +02:00
GitHub Action
1d2e64e3dc
[ci skip] Translation update
2022-07-14 00:27:41 +00:00
epenet
16900dcef1
Make Store a generic class ( #74617 )
2022-07-09 22:32:57 +02:00
Jaroslav Hanslík
5b73cb10c1
MWh is valid unit for energy dashboard ( #73929 )
...
MWh is valid unit for energy
2022-06-29 11:42:52 +02:00
GitHub Action
4005af99aa
[ci skip] Translation update
2022-06-14 00:26:59 +00:00
Franck Nijhof
5c1be2f99d
Add unique ID to energy sensors ( #70378 )
2022-04-26 23:14:16 -07:00
J. Nick Koston
97aa65d9a4
Run energy db calls in the db executor ( #69544 )
...
Fixes #69537
2022-04-07 11:50:49 +02:00
Marc Mueller
41df798375
Bump mypy to 0.940 ( #68007 )
2022-03-11 15:57:38 -08:00
Marc Mueller
ac50248938
Add type ignore error codes [other] ( #66781 )
2022-02-17 23:10:25 -08:00
GitHub Action
ca7d4234e1
[ci skip] Translation update
2022-01-31 00:14:28 +00:00
Marc Mueller
67c35652f0
Update typing - collections.abc (2) ( #63934 )
2022-01-12 09:04:37 +01:00
epenet
c7cb26cbab
Use Platform enum in load_platform [a-l] ( #63750 )
2022-01-10 10:30:47 +01:00
Marc Mueller
3e51659ba7
Remove some unused TypeVars ( #63346 )
2022-01-04 15:38:34 +01:00
epenet
df608b56a5
Use new enums in energy ( #61386 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-10 08:40:53 +01:00
Erik Montnemery
27d1063dec
Revert "Skip duplicated data when calculating fossil energy consumption ( #60599 )" ( #61323 )
...
This reverts commit 159506262a
.
2021-12-10 08:19:53 +01:00
Erik Montnemery
159506262a
Skip duplicated data when calculating fossil energy consumption ( #60599 )
2021-12-08 10:59:26 -08:00
Erik Montnemery
e33384d8b9
Fix CO2 calculation when data is missing ( #61106 )
2021-12-06 09:55:28 -08:00
Erik Montnemery
4a5238efa5
Add support for calculating daily and monthly fossil energy consumption ( #59588 )
2021-11-22 09:10:54 -08:00
GitHub Action
9a85c8d894
[ci skip] Translation update
2021-11-18 00:12:48 +00:00
GitHub Action
f00effaba2
[ci skip] Translation update
2021-11-13 00:11:56 +00:00
Erik Montnemery
65b1f0d9eb
Minor refactor of energy validator ( #58209 )
2021-11-10 22:38:15 -08:00
GitHub Action
332a571bb4
[ci skip] Translation update
2021-11-07 00:12:38 +00:00
Marc Mueller
4c68662612
Use assignment expressions 34 ( #58823 )
2021-10-31 19:01:16 +01:00
Erik Montnemery
a0a8b9db26
Add entity category 'system' ( #58595 )
...
* Add entity category 'hidden'
* Update cloud
* Update Google assistant
* Update Alexa
* Fix tests
* Add ENTITY_CATEGORIES constant
* Rename ENTITY_CATEGORY_HIDDEN to ENTITY_CATEGORY_SYSTEM
* Correct import in motioneye
2021-10-28 14:36:41 +02:00
Erik Montnemery
f228537458
Fix energy cost sensor for MWh + improve tests ( #58540 )
2021-10-27 19:07:05 +02:00
Colin Robbins
39998f5387
Add kWh as cost option for gas ( #58426 )
...
* Add kWh as cost option for GAS
* Add kWh as cost option for GAS (pylint)
* Add kWh as cost option for GAS (make CONST)
* Change GAS_UNITS to VALID_ENERGY_UNITS
* Add test for Gas cost in kWh (2)
* Back off ENERGY_WATT_HOUR - unlikely for gas
* Add MEGA_WATT_HOUR support (2)
* Normalise pricing for MEGA_WATT_HOUR
* Normalise pricing for MEGA_WATT_HOUR
2021-10-27 18:06:32 +02:00
Marc Mueller
ea2e94a4e5
Use assignment expressions 24 ( #58181 )
2021-10-22 14:07:19 +02:00
Erik Montnemery
547e36ae94
Tweak energy validator ( #58018 )
...
* Tweak energy validator
* Update code and tests
* Tweak implementation
* Update tests
* Update after rebase
2021-10-22 10:38:04 +02:00
GitHub Action
7a7f5ccc31
[ci skip] Translation update
2021-10-20 00:12:17 +00:00
GitHub Action
c76e15149c
[ci skip] Translation update
2021-10-17 00:12:27 +00:00
Erik Montnemery
a5603c0076
Improve warning prints for sensor statistics ( #57605 )
2021-10-13 08:15:04 -07:00
Paulus Schoutsen
11ed70b774
Fix energy gas price validation ( #57075 )
2021-10-04 20:52:40 -07:00
GitHub Action
f42c2f5170
[ci skip] Translation update
2021-10-02 12:59:05 +00:00
Marc Mueller
d51487f82a
Import Callable from collections.abc (3) ( #56777 )
2021-09-29 16:19:06 +02:00
Franck Nijhof
41e5f05d99
Fix energy validation when not tracking costs ( #56768 )
2021-09-29 13:24:34 +02:00