* Improve sensor for automations
I've updated the sensor so that departure time and delay can be used in automatons.
Before, the departure time and delay time were only available wrapped in strings which makes it difficult to use them in automations. Using the extra attributes, one can easily use them in automations.
* Update homeassistant/components/nmbs/sensor.py
Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>
* Updates based on review
Changed min to minutes as requested
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
* Make name customizable for nmbs live sensors
* Change order of the live name
* Added unique id to live nmbs sensor
* Revert changing the name of the live sensor
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS