Commit graph

32 commits

Author SHA1 Message Date
Franck Nijhof
38203003d2
Remove gas device class from current sensor in dsmr_reader (#86725) 2023-01-26 16:44:52 +01:00
Tom Puttemans
b9339a290a
Fix dsmr_reader peak hour consumption unit of measurement (#85301) 2023-01-06 12:55:32 +01:00
Tom Puttemans
cb3ab9b51e
Add quarter-hour peak consumption sensors (#84271)
fixes undefined
2022-12-21 09:27:08 +01:00
Tom Puttemans
5df7cb0fb5
Revert the state class removal in dsmr_reader after bugfix (#84267) 2022-12-20 13:30:28 +01:00
Tom Puttemans
bd65258905
Improve the dsmr_reader sensor names (#84269) 2022-12-20 13:28:40 +01:00
epenet
429dbd4215
Use UnitOfVolume in dsmr_reader (#84226) 2022-12-19 13:14:01 +01:00
epenet
0dd20fb309
Use UnitOfEnergy in integrations (a-n) (#84220) 2022-12-19 11:06:00 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations (#84044) 2022-12-15 13:59:21 +01:00
epenet
4fe025b297
Use UnitOfPower in integrations [a-g] (#83812) 2022-12-12 11:48:09 +01:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations (#83622) 2022-12-09 10:51:26 +01:00
Franck Nijhof
1012064bb7
Remove state class from daily net sensors in DSMR Reader (#75864) 2022-07-28 18:13:16 +02:00
epenet
f7bdbd9fdd
Use new SensorDeviceClass in dsmr-reader (#61371)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-10 08:53:23 +01:00
epenet
7389cdaf05
Use new SensorStateClass enum in dsmr_reader (#61352)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 12:03:45 +01:00
Franck Nijhof
216ecf3426
Fix DSMR Reader providing strings as timestamps (#60988) 2021-12-04 13:31:34 +01:00
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) (#56776) 2021-09-29 14:06:51 +02:00
Pascal Winters
a764c79b6f
Edit unit of measurement for gas/electricity supplier prices (#55771)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-07 20:54:40 -07:00
Franck Nijhof
73d03bdf1d
Add Gas device class to DSMR Reader (#54748) 2021-08-18 10:14:03 +02:00
Erik Montnemery
c5d88d3e2f
Remove last_reset attribute from dsmr_reader sensors (#54700) 2021-08-16 16:19:41 +02:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) (#54468) 2021-08-11 18:57:12 +02:00
Franck Nijhof
120a0bead0
Add state class support to DSMR Reader (#53715) 2021-07-29 12:25:18 -07:00
Marc Mueller
074d762664
Rename and reorganize electric unit constants (#53243) 2021-07-20 20:06:23 +02:00
Wim Haanstra
bc2689fd75
Add day-consumption fixed cost sensor in dsmr_reader (#52178)
* Added day-consumption fixed cost property

* black

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-25 07:59:51 -04:00
Robert Delpeut
4487565232
Add dsmr monthly and yearly totals (#48253)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-28 16:37:27 +02:00
Tim de Boer
149ba088d4
Add dsmr_reader telegram timestamp and device classes (#42909)
* Added Telegram timestamp

* added to 'dsmr/reading/timestamp' and 'dsmr/consumption/gas/read_at'

* Fixed import sorting

* Replaced 'kW' with ENERGY_KILO_WATT_HOUR

* Added device_class, changed unit_of_measurement with fallback on device_class

* Fixed typo

* Fixed 'black' coding format

* Removed fallback, added unit_of_measurement and CURRENCY_EURO as device_class

* Fixed newline

* Removed 'timestamp' unit_of_meassure

* Removed icons from defintions with device_class

* Updated device_classes

* Updated device_classes

* Updated device_classes

* Added 'entity_registry_enabled_default' properties

* Added 'entity_registry_enabled_default' properties, fixed typo

* MQTT discovery will be in another pull-request
2020-11-15 14:52:31 -06:00
springstan
000d2047fb
Add and use currency constants (#40113) 2020-09-15 15:01:01 -06:00
Wim Haanstra
aa1b32ad36
Add new DSMR Reader fields that were added to MQTT (#36337) 2020-06-01 14:10:09 +02:00
springstan
ef9d9b17bd
Drop UNIT_ prefix for constants (#34164)
* Drop UNIT_ prefix for VOLT

* Drop UNIT_ prefix for DEGREE

* Drop UNIT_ prefix for CONDUCTIVITY

* Drop UNIT_ prefix for UV_INDEX

* Run isort
2020-04-21 19:45:53 +02:00
springstan
04c4501455
Add and use UNIT_VOLT constant (#33994)
* Add and use UNIT_VOLT constant

* Run isort
2020-04-11 02:04:58 +02:00
springstan
02c9e47db8
Use ENERGY_KILO_WATT_HOUR constant (#33962) 2020-04-10 20:21:29 +02:00
Ville Skyttä
496bd3dddf
Add and use more unit constants (#32122)
* Add and use speed constants

* Add and use meter based volume and area constants

* Add and use more mass unit constants

* Add and use concentration unit constants

* Add and use watts per square meter constant

* Use more time constants

* Use more data constants
2020-02-24 17:52:14 -08:00
Wim Haanstra
36f7096f09 Fix failure in transform method (#30023)
* Fix failure in transform method

* Fix formatting issue
2019-12-18 13:18:14 -07:00
Wim Haanstra
daed314585 Dsmr reader (#28701)
* Added DSMR Reader platform

- Added DSMR Reader platform
- Updated codeowners for other components I added earlier

* Move sensor definitions to new file

* Sensor definitions in new file

* Add energy prices from MQTT

* lint fixes

* Black formatted some files

* Update .coveragerc

* Support transform methods on definitions

* Manifest mangled by Black, fixed

* Visual studio code reformatting dictionary error

* Fix issues with code, remove unrelated manifest changes

* Update CODEOWNERS
2019-11-28 20:30:24 +01:00