* area conversions
* start work on tests
* add number device class
* update unit conversions to utilise distance constants
* add area unit
* update test unit system
* update device condition and trigger
* update statistic unit converters
* further tests work WIP
* update test unit system
* add missing string translations
* fix websocket tests
* add deprecated notice
* add more missing strings and missing initialisation of unit system
* adjust icon and remove strings from scrape and random
* Fix acre to meters conversion
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Tidy up valid units
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* fix ordering of area
* update order alphabetically
* fix broken test
* update test_init
* Update homeassistant/const.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* remove deprecated unit and fix alphabetical order
* change deprecation and add tests, change to millimeter conversion for inches
* fix order
* re-order defs alphabetically
* add measurement as well
* update icons
* fix up Deprecation of area square meters
* Update core integrations to UnitOfArea
* update test recorder tests
* unit system tests in alphabetical
* update snapshot
* rebuild
* revert alphabetization of functions
* other revert of alphabetical order
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Add diagnostics per device to Home Connect
* Include programs at device diagnostics
* Applied suggestions from epenet
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Applied more suggestions from epenet
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Test naming consistency
Co-authored-by: abmantis <amfcalt@gmail.com>
* Add return type to `_generate_entry_diagnostics`
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: abmantis <amfcalt@gmail.com>
* Add price descriptor attribute to price sensors
* Adding price descriptor sensor
* Use correct number of sensors in spike sensor tests
* Add tests for normalize_descriptor
* Removing debug message
* Removing price_descriptor attribute from the current sensor
* Refactoring everything to use the new API
* Use SiteStatus object, fix some typnig issues
* fixing test
* Adding predicted price to attributes
* Fix advanced price in forecast
* Testing advanced forecasts
* WIP: Adding advanced forecast sensor. need to add attributes, and tests
* Add advanced price attributes
* Adding forecasts to the advanced price sensor
* Appending forecasts corectly
* Appending forecasts correctly. Again
* Removing sensor for the moment. Will do in another PR
* Fix failing test that had the wrong sign
* Adding test to improve coverage on config_flow test
* Bumping amberelectric dependency to version 2
* Remove advanced code from helpers
* Use f-strings
* Bumping to version 2.0.1
* Bumping amberelectric to version 2.0.2
* Bumping amberelectric to version 2.0.2
* Bumping verion amberelectric.py to 2.0.3. Using correct enums
* Bumping amberelectric.py version to 2.0.4
* Bump version to 2.0.5
* Fix formatting
* fixing mocks to include interval_length
* Bumping to 2.0.6
* Bumping to 2.0.7
* Bumping to 2.0.8
* Bumping to 2.0.9
* Bumping version 2.0.12
* Modernize fitbit entity names
* Use placeholder with tracker device name
* Make names sentence case
* Apply name simplifications from PR feedback
* Remove translations that are duplicate of device class
* Update homeassistant/components/fitbit/sensor.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add a test for tracker distance and update snapshots
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>