Commit Graph

106 Commits (c677489535be5d44efaf6baa01a96f2dddd4a1af)

Author SHA1 Message Date
HomeAssistant Azure 1a03bbda5a [ci skip] Translation update 2020-10-18 00:03:28 +00:00
Quentame 7469bd9266
Wait Synology NAS boot before configuring (#41829) 2020-10-16 14:39:20 -05:00
HomeAssistant Azure 994ae09f69 [ci skip] Translation update 2020-10-15 00:03:50 +00:00
HomeAssistant Azure 1417a4161f [ci skip] Translation update 2020-10-13 00:03:24 +00:00
Quentame 6cff58f37d
Fix disabled Synology DSM camera (#41686) 2020-10-12 16:47:05 +02:00
HomeAssistant Azure f787289ea0 [ci skip] Translation update 2020-10-12 00:03:31 +00:00
HomeAssistant Azure 80522f1bdc [ci skip] Translation update 2020-10-11 00:03:37 +00:00
HomeAssistant Azure 6ae12c3faf [ci skip] Translation update 2020-10-10 00:05:05 +00:00
HomeAssistant Azure 29aea5a66c [ci skip] Translation update 2020-10-09 00:04:33 +00:00
HomeAssistant Azure d73d36d0cd [ci skip] Translation update 2020-10-08 00:06:03 +00:00
HomeAssistant Azure 486c0b644a [ci skip] Translation update 2020-10-07 00:06:20 +00:00
Quentame ae1c15ff14
Set longer timeout during synology_dsm config flow (#41364) 2020-10-07 01:14:05 +02:00
SNoof85 0460166c7c
Use reference strings in Synology_DSM (#41333)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-06 15:35:36 +02:00
HomeAssistant Azure bcfa4ac959 [ci skip] Translation update 2020-10-06 00:08:09 +00:00
springstan 038c05d0ee
Return attribute dict directly without temporary variable (#41206) 2020-10-05 12:51:48 +02:00
HomeAssistant Azure 8d1d585b40 [ci skip] Translation update 2020-10-05 00:04:23 +00:00
HomeAssistant Azure f8c2d877aa [ci skip] Translation update 2020-10-04 00:05:05 +00:00
springstan c00915a6a7
Add ssl and verify_ssl to base strings for config flows (#40944)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-03 16:06:45 +02:00
Quentame 1d816d25f7
Add Surveillance Station home mode switch for Synology DSM (#40490)
* 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
2020-09-30 18:27:06 +02:00
HomeAssistant Azure 8d0f1e7db2 [ci skip] Translation update 2020-09-30 00:04:43 +00:00
HomeAssistant Azure c3afe39ea0 [ci skip] Translation update 2020-09-26 00:05:34 +00:00
HomeAssistant Azure c77c0e4780 [ci skip] Translation update 2020-09-24 00:05:22 +00:00
HomeAssistant Azure 587e3f1eb2 [ci skip] Translation update 2020-09-21 00:02:47 +00:00
HomeAssistant Azure 62c4e072f5 [ci skip] Translation update 2020-09-19 00:07:12 +00:00
HomeAssistant Azure 0a0a8fc67d [ci skip] Translation update 2020-09-18 00:07:17 +00:00
HomeAssistant Azure f6584c1866 [ci skip] Translation update 2020-09-17 00:08:34 +00:00
HomeAssistant Azure d0f4b23063 [ci skip] Translation update 2020-09-15 00:09:18 +00:00
Thomas Germain 3881e0cb23
Add temperature and uptime to Synology DSM (#39419)
Co-authored-by: Quentame <polletquentin74@me.com>
2020-09-14 09:42:37 +02:00
HomeAssistant Azure 9acceda0f8 [ci skip] Translation update 2020-09-14 00:04:10 +00:00
Quentame bab4ad4f17
Add timeout config option to Synology DSM (#40000) 2020-09-12 20:36:39 -05:00
Xiaonan Shen 4e10895a19
Remove unchecked return value in synology_dsm (#39929) 2020-09-11 15:14:22 -05:00
Xiaonan Shen b66aaeea99
Add camera support to synology_dsm (#39838)
* Add camera support to synology_dsm

* Code improvements

* More code improvements
2020-09-10 21:08:37 +02:00
Marius a6a011ec19
Use entity_class 'safety' in synology_dsm storage sensors (#39757)
* 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>
2020-09-10 09:21:51 +02:00
Quentame 95a33ba894
Bump Synology DSM to 0.9.0 (#39819) 2020-09-08 23:38:41 +02:00
HomeAssistant Azure 07d5af1969 [ci skip] Translation update 2020-09-08 00:04:13 +00:00
springstan d2b1918e9c
Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
HomeAssistant Azure 5ce62c8446 [ci skip] Translation update 2020-09-02 00:03:29 +00:00
Marius 87425d4ab1
Add device_class safety to synology_dsm storage binary_sensors (#39310)
* add device_class: safety to storage binary_sensors

* Update binary_sensor.py

* Update homeassistant/components/synology_dsm/binary_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update binary_sensor.py

* Import device_class Safety

from homeassistant.components.binary_sensor

* Update binary_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-08-30 11:08:57 +02:00
Franck Nijhof 1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
HomeAssistant Azure 195d4b6897 [ci skip] Translation update 2020-08-27 00:04:55 +00:00
HomeAssistant Azure 8abdc2c969 [ci skip] Translation update 2020-07-27 00:02:58 +00:00
HomeAssistant Azure 9092b83869 [ci skip] Translation update 2020-07-20 00:03:01 +00:00
HomeAssistant Azure 251a1d6619 [ci skip] Translation update 2020-07-09 00:05:04 +00:00
HomeAssistant Azure e48bcd2070 [ci skip] Translation update 2020-06-27 00:05:54 +00:00
HomeAssistant Azure e39997ca10 [ci skip] Translation update 2020-06-23 00:09:06 +00:00
HomeAssistant Azure 140fd5adaf [ci skip] Translation update 2020-06-09 00:05:22 +00:00
HomeAssistant Azure 3bf389639b [ci skip] Translation update 2020-06-07 00:03:28 +00:00
HomeAssistant Azure 492874c4a0 [ci skip] Translation update 2020-06-06 00:03:33 +00:00
Quentame e08ba6703c
Bump python-synology to 0.8.2 (#36410)
* 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>
2020-06-04 00:18:43 +02:00
Scotte Zinn 95563e04e8
Allow synology_dsm configuration to specify a host name (#36305)
* 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
2020-06-03 13:01:13 +02:00