* add unit tests for sensors
* newline long strings
* unit test check and move time
* rename entry to entity
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* add types to test
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* fix newlined f strings
* remove if statement
* add some more explaination
* Update datetime
Co-authored-by: Robert Resch <robert@resch.dev>
* Simpler time update
Co-authored-by: Robert Resch <robert@resch.dev>
* add missing datetime import
* Update docustring - grammar
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* address comments and issues raised
* address docstrings too long
* Fix docstring
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Starting number sensor
* Filter change config
* Add translation to number entity
* add number entity to .coveragerc
* Moved has_entity_name to description + changed name of entity
* Add self.coordinator.async_request_refresh() after changing value
* Add device calss and unit of measurement to number entity
* System bridge notifications
Add notify platform
Add file to coverage
Restore and fix lint after rebase
Cleanup
Use entity to register notify service
Fix pylint
Update package to 3.6.0 and add audio actions
Update package to fix conflict
Remove addition
* Run pre-commit run --all-files
* Update homeassistant/components/system_bridge/notify.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Format
* Fix
* Remove duplicate import
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Debug message if no detections found or
no output file configured
* fix formatting
* black
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Add sensor entity descriptions
* Fix review findings
* Fix type of value function to avoid inline lambda if conditions and add attribute function to avoid extra sensor entity class
* Correct name of binary sensor base entity
* Simplify adding of entities in platforms
* Do not use keyword arguments while adding entities