core/tests/components/energy
SgtBatten 0ccab19d2c
Add Mega Joule as valid unit of energy (#86055)
* Add Mega joule

* Reorder valid energy types

Alphabetical

* Add Mega Joule

* Add Mega Joule as valid energy unit

* Add Mega Joule

* Add Mega Joule as a Unit of Measurement to Energy

* Update tests

* Update tests

* Update number docstring

Co-authored-by: Roving Ronin <108674933+Roving-Ronin@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-01-25 14:13:42 +01:00
..
__init__.py
test_sensor.py Replace the usage of unit constants by enumerations in Tests [a-e] (#85932) 2023-01-15 14:44:01 +01:00
test_validate.py Add Mega Joule as valid unit of energy (#86055) 2023-01-25 14:13:42 +01:00
test_websocket_api.py Code styling tweaks to the tests - Part 1 (#86192) 2023-01-20 13:52:46 +01:00