* Use camera name as device name
* Add Surveillance Station home mode switch for Synology DSM
- camera uses Surveillance Station as device parent
- camera uses camera name instead of NAS name + camera name
* Without device_class otherwise no icon
* Update .coveragerc
* Use entity_class: 'safety' in storage sensors
and more meaningful icons then 'mdi:test-tube', not sure if these are even necessary, given the device_class that defines the icons too?
* Set device_class, not icon
Still, the temperature sensors have both set, should I take these out in this go too? While we're at it....
* added device_class temperature to temp sensors
and removed explicit icons
do we need to set a D_c also on the Status sensor? line 187
* revert device_class Safety
which is now set in const.py
following up on https://github.com/home-assistant/core/pull/39757#pullrequestreview-483705147
* Use DEVICE_CLASS_SAFETY from const
+ revert temp to avoid conflict
* const from binary
* reverted non binary status sensors
to use: "mdi:checkbox-marked-circle-outline" and set None to device_class
Co-authored-by: Quentame <polletquentin74@me.com>
* Bump python-synology to 0.8.2
* state_attributes to device_state_attributes
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Allow configuration to specify a host name.
This will default to "synology", so the sensors would be named
sensor.synology_... which is the original implementation.
By specifying a name, which is required for multiple synology hosts,
you can then have sensor.hostA_... and sensor.hostB_...
* Get the base name for the sensors from the Synology DSM hostname
* Don't need the name for the config
* Added missing import
* Fixed another typo
* Removed definition of unused BASE_NAME
* Removed end of line to revert
* Moved for ordering