Commit Graph
100 Commits
Author SHA1 Message Date
springstanandGitHub 17734d54ab Update hue to use CoordinatorEntity (#39446) 2020-08-30 11:32:56 -05:00
springstanandGitHub d3b845c01a Update tile to use CoordinatorEntity (#39439) 2020-08-30 11:32:32 -05:00
springstanandGitHub cceaa088cb Update toon to use CoordinatorEntity (#39441) 2020-08-30 18:26:37 +02:00
springstanandGitHub 42818c150f Update pi_hole to use CoordinatorEntity (#39433) 2020-08-30 11:10:45 -05:00
springstanandGitHub 7bed868d60 Update wolflink to use CoordinatorEntity (#39444) 2020-08-30 11:10:28 -05:00
springstanandGitHub ce1ef73366 Update WLED to use CoordinatorEntity (#39442) 2020-08-30 18:05:55 +02:00
springstanandGitHub 22b8d43bf5 Update tesla to use CoordinatorEntity (#39436) 2020-08-30 10:48:15 -05:00
springstanandGitHub e701001c5f Update poolsense to use CoordinatorEntity (#39435) 2020-08-30 10:47:45 -05:00
springstanandGitHub 1e97ca14f1 Update accuweather to fully use CoordinatorEntity (#39431) 2020-08-30 10:38:26 -05:00
springstanandGitHub e984801104 Update iammeter to use CoordinatorEntity (#39423)
* Update iammeter to use CoordinatorEntity

* Remove async_will_remove_from_hass and async_added_to_hass
2020-08-30 10:02:55 -05:00
springstanandGitHub 70c241b51b Fix pylint erros for sharkiq (#39428) 2020-08-30 09:51:50 -05:00
springstanandGitHub a1d48ad1ec Update juicenet to use CoordinatorEntity (#39424) 2020-08-30 09:38:15 -05:00
springstanandGitHub baf5750425 Update gios to use CoordinatorEntity (#39421) 2020-08-30 09:37:03 -05:00
springstanandGitHub 186c13f1ab Update eafm to use CoordinatorEntity (#39420) 2020-08-30 09:17:59 -05:00
springstanandGitHub 152b6c2d1a Update accuweather to use CoordinatorEntity (#39408) 2020-08-30 09:06:38 -05:00
springstanandGitHub 29c1f873eb Update brother to use CoordinatorEntity (#39418) 2020-08-30 09:02:12 -05:00
springstanandGitHub 64513c8c9a Update airvisual to use CoordinatorEntity (#39417) 2020-08-30 09:01:19 -05:00
springstanandGitHub 4294d10789 Format sharkiq with black (#39422) 2020-08-30 08:56:59 -05:00
springstanandGitHub be489e83a1 Update speedtestdotnet to use CoordinatorEntity (#39404) 2020-08-30 08:50:33 -05:00
springstanandGitHub b3ec3d0baf Update atag to use CoordinatorEntity (#39414) 2020-08-30 14:42:45 +02:00
springstanandGitHub 4425c3aea2 Update airly to use CoordinatorEntity (#39413) 2020-08-30 14:41:39 +02:00
springstanandGitHub c0c6a457bd Update air_quality to use CoordinatorEntity (#39410) 2020-08-30 14:26:03 +02:00
springstanandGitHub 9311b02369 Use LENGTH_FEET constant (#34053) 2020-06-10 21:38:29 +02:00
springstanandGitHub b42a197293 Add and use ELECTRICAL_CURRENT_AMPERE, ELECTRICAL_VOLTAGE_AMPERE constants (#33990)
* Add and use ELECTRICAL_CURRENT_AMPERE constant

* Add and use ELECTRICAL_VOLTAGE_AMPERE constant

* Rename ELECTRICAL_VOLTAGE_AMPERE to ELECTRICAL_VOLT_AMPERE

* Fix imports
2020-05-17 15:58:31 +02:00
springstanandGitHub ef9d9b17bd Drop UNIT_ prefix for constants (#34164)
* Drop UNIT_ prefix for VOLT

* Drop UNIT_ prefix for DEGREE

* Drop UNIT_ prefix for CONDUCTIVITY

* Drop UNIT_ prefix for UV_INDEX

* Run isort
2020-04-21 19:45:53 +02:00
springstanandGitHub d842dacfd6 Clean up access to config in various integrations v5 (#34206) 2020-04-15 14:10:07 +02:00
springstanandGitHub e2af216bcd Clean up access to config in various integrations v4 (#34174)
* Clean up access to config in various integrations v4

* Address review comments
2020-04-14 20:38:55 +02:00
springstanandGitHub 19dd797dfe Add and use frequency constants (#34113) 2020-04-12 22:44:31 +02:00
springstanandGitHub 00b6409b76 Use LENGTH_METERS constant (#34110) 2020-04-12 21:44:56 +02:00
springstanandGitHub 538bb60022 Add and use UNIT_CONDUCTIVITY constant (#34107) 2020-04-12 21:26:20 +02:00
springstanandGitHub 44afffcfbf Use UNIT_UV_INDEX constant (#34055) 2020-04-12 21:04:13 +02:00
springstanandGitHub d454c6a43d Use MASS_KILOGRAMS constant (#34052) 2020-04-12 19:45:50 +02:00
springstanandGitHub b2af1de273 Improve string formatting v9 (#34050)
* Improve string formatting v9

* Address review comments
2020-04-12 17:18:09 +02:00
springstanandGitHub 9f713dac7f Use UNIT_PERCENTAGE constant (#34054) 2020-04-11 22:53:48 +02:00
springstanandGitHub b893150154 Add and use UNIT_DEGREE constant (#33978)
* Add and use UNIT_DEGREE constant

* Replace more occurrences

* Add and use TEMP_KELVIN

* Run isort
2020-04-11 16:54:11 +02:00
springstanandGitHub f839ba00eb Use POWER_WATT constant (#33984) 2020-04-11 15:40:59 +02:00
springstanandGitHub 328cadbaa2 Use LENGTH_KILOMETERS constant (#33976)
* Use LENGTH_KILOMETERS constant

* Fix tests by importing the constant directly
2020-04-11 02:12:39 +02:00
springstanandGitHub 04c4501455 Add and use UNIT_VOLT constant (#33994)
* Add and use UNIT_VOLT constant

* Run isort
2020-04-11 02:04:58 +02:00
springstanandGitHub 8198970af9 Clean up ssl usage (#33960)
* Clean up ssl usage

* Revert config[CONF_SSL] from sonarr, radarr and mfi
2020-04-10 22:01:57 +02:00
springstanandGitHub 25198242c1 Use TEMP_FAHRENHEIT constant (#33969) 2020-04-10 21:10:10 +02:00
springstanandGitHub 02c9e47db8 Use ENERGY_KILO_WATT_HOUR constant (#33962) 2020-04-10 20:21:29 +02:00
springstanandGitHub 78d87dc40f Use TEMP_CELSIUS constant (#33963) 2020-04-10 19:17:46 +02:00
springstanandGitHub 4c38e6cfa5 Use HTTP_BAD_REQUEST constant (#33797) 2020-04-09 21:43:42 +02:00
springstanandGitHub bc26be3c11 Add and use HTTP_FORBIDDEN constant (#33839) 2020-04-09 17:41:17 +02:00
springstanandGitHub 21dfee831f Clean up access to config in various integrations v3 (#33842) 2020-04-09 09:26:06 +02:00
springstanandGitHub 9a40d5b7ed Use HTTP_NOT_FOUND constant (#33835) 2020-04-09 00:57:47 +02:00
springstanandGitHub fb8f8133a0 Use HTTP_INTERNAL_SERVER_ERROR constant (#33832) 2020-04-08 23:20:03 +02:00
springstanandGitHub 8d61893c39 Use HTTP_OK constant (#33798)
* Use http ok constant

* Remove incorrect use

* Run isort

* Fix pylint by adding missing imports

* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
springstanandFranck Nijhof 245eae89eb Bump pyW215 to 0.7.0 (#33786) 2020-04-08 14:37:55 +02:00
springstanandGitHub c6c7dd10f5 Clean up access to config in various integrations (#33759) 2020-04-08 12:59:38 +02:00
springstanandGitHub eae21be5b9 Improve string formatting v6 (#33698) 2020-04-07 23:14:28 +02:00
springstanandGitHub d7e3b0b755 Clean up access to config in various integrations v2 (#33763) 2020-04-07 22:45:56 +02:00
springstanandGitHub 46bbe816f6 Remove None from dict.get(key, None) (#33794) 2020-04-07 21:06:05 +02:00
springstanandGitHub 60eb488d0c Bump pyW215 to 0.7.0 (#33786) 2020-04-07 09:22:03 -07:00
springstanandGitHub 325e5416ef Remove global variable from zigbee (#33750)
* Remove global variable from zigbee

* Pass device instead of hass into the constructor
2020-04-07 17:41:23 +02:00
springstanandGitHub 0d2de919a6 Clean up after global variable deletion (#33743)
* Clean up after global variable deletion

* Remove self from method calls
2020-04-06 10:32:04 -07:00
springstanandGitHub c2a90a4f0d Remove global variable from mochad (#33745) 2020-04-06 10:05:43 -07:00
2e6108365e Remove global variable from sleepiq (#33715)
* Remove global variable from sleepiq

* Remove global variable from sleepiq v2

* Create constant file

* Move back time constant

* Update homeassistant/components/sleepiq/__init__.py

Co-Authored-By: Quentame <polletquentin74@me.com>

Co-authored-by: Quentame <polletquentin74@me.com>
2020-04-06 00:46:50 +02:00
springstanandGitHub 67c3a4c970 Improve string formatting v7 (#33705) 2020-04-05 17:34:24 -05:00
springstanandGitHub 60dd2213cf Remove global variable from apcupsd (#33717)
* Remove global variable from apcupsd

* Run isort

* Address review comments
2020-04-05 23:54:37 +02:00
springstanandGitHub 00e67fb2c7 Remove global variable from scsgate (#33719)
* Remove global variable from scsgate

* Import CONF_SCS_ID in light.py

* Run isort

* Remove constant ATTR_STATE
2020-04-05 23:47:11 +02:00
springstanandGitHub 40ce8f8c9c Remove global variable from arduino (#33718)
* Remove global variable from arduino

* Run isort
2020-04-05 23:27:58 +02:00
springstanandGitHub 983ed8b8b4 Remove global variable from bloomsky (#33720) 2020-04-05 23:16:30 +02:00
springstanandGitHub b1326928df Remove global variable from aquostv (#33716) 2020-04-05 23:14:37 +02:00
springstanandGitHub fca90a8ddc Improve string formatting v5 (#33697)
* Improve string formatting v5

* Address review comments
2020-04-05 17:48:55 +02:00
springstanandGitHub e3bcfb88e7 Improve string formatting v4 (#33668)
* Improve string formatting v4

* Use normal strings instead of f-strings

* Fix zeroconf test by adding back part of a condition
2020-04-05 16:01:41 +02:00
springstanandGitHub c20a965eda Improve string formatting v3 (#33667)
* Improve string formatting v3

* Address review comment
2020-04-05 01:32:58 +02:00
springstanandGitHub db72039b8f Use list literals (#33659) 2020-04-04 23:14:47 +02:00
springstanandGitHub dde93304d3 Improve string formatting v2 (#33645)
* Improve string formatting v2

* Improve string formatting v3

* Address review comments
2020-04-04 23:09:34 +02:00
springstanandGitHub fddaea797e Use tuple literals (#33661) 2020-04-04 22:45:55 +02:00
springstanandGitHub 0d95eff21d Use dict literals (#33658) 2020-04-04 22:31:56 +02:00
springstanandGitHub 541e30d155 Remove unused manifest fields v2 (#33656) 2020-04-04 22:11:33 +02:00
springstanandGitHub ed71683488 Improve string formatting (#33643) 2020-04-04 20:17:11 +02:00
springstanandGitHub 0cf9268ca8 Fix invalid directory for dnsmasq files in asuswrt (#33503) 2020-04-01 11:04:44 -07:00
springstanandGitHub a2ac335222 Fix device condition for alarm_control_panel (#32916) 2020-03-17 22:15:11 +01:00
springstanandGitHub 51b9afe3c1 Add device condition for alarm_control_panel (#29063)
* Initial commit

* Restricting conditions by supported_features, drop pending condition

* Added tests for no and minimum amount of conditions

* Address review comments

* Sort impors with isort

* Sort impors with isort v2
2020-03-16 18:08:06 -05:00
springstanandGitHub ba0aaeeddb Use f-strings in integrations starting with "M" (#32271)
* Use f-strings in integrations starting with "M"

* Format mqtt light init with black

* Fix lint error

* Fix pylint error

* Restore constants

* Update homeassistant/components/mqtt/discovery.py

* Update homeassistant/components/mqtt/discovery.py

* Update homeassistant/components/mqtt/discovery.py

* Update homeassistant/components/mqtt/discovery.py

* Format with Black
2020-03-10 23:34:54 +01:00
springstanandGitHub c7d983fd44 Catch an extra error for Ring (#32477) 2020-03-04 23:09:54 +01:00
springstanandGitHub f1a0ca7cd3 Add and use percentage constant (#32094)
* Add and use percentage constant

* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
springstanandGitHub 157f972d72 Use f-strings in integrations starting with "H" - "L" (#32265)
* Use f-strings in integrations starting with "H"

* Use f-strings in integrations starting with "I"

* Use f-strings in integrations starting with "J"

* Use f-strings in integrations starting with "K"

* Use f-strings in integrations starting with "L"

* Fix lint error

* Use join instead of f-string in homekit_controller

* Use local variables with f-strings

* Fix lint error

* Escape the characters in f-string

* Sort imports with isort in homeworks light

* Fix pylint error

* Fix broken tests

* Fix broken tests v2
2020-02-28 12:39:29 +01:00
springstanandGitHub 58de7fe9a3 Fix name of emby media player (#32183)
* Fix name of emby media player

* Remove client name from entity_id
2020-02-25 17:30:03 -08:00
springstanandGitHub 5c12fa0daa Fix description of fan service set_direction (#32181) 2020-02-25 19:18:44 +01:00
88df9c8ab4 Remove friendly_name attribute from twitch sensor (#32067)
* Remove friendly_name attribute twitch sensor

* Use deepcopy to only copy the content

* Update homeassistant/components/twitch/sensor.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/twitch/sensor.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-02-25 02:55:31 +01:00
springstanandGitHub ad102b3840 Use f-strings in integrations starting with "F"and"G" (#32150)
* Use f-strings in integrations starting with F

* Use f-strings in tests for integrations starting with F

* Use f-strings in integrations starting with G

* Use f-strings in tests for integrations starting with G

* Fix pylint error

* Fix broken test
2020-02-24 17:54:20 -08:00
springstanandGitHub 9801810552 Use f-strings in integrations starting with "B"-"E" (#32121)
* Use f-strings in integrations starting with B

* Use f-strings in integrations starting with C

* Use f-strings in integrations starting with D

* Use f-strings in integrations starting with E

* Fix pylint errors

* Fix pylint errors v2

* Fix tests

* Fix tests v2
2020-02-24 08:47:52 -08:00
springstanandGitHub 524a1a7587 Use f-strings in integrations starting with "A" (#32110)
* Use f-strings in integrations starting with A

* Use f-strings in tests for integrations starting with A

* Fix pylint by renaming variable

* Fix nested for loop in f-string for aprs device_tracker

* Break long lines into multiple short lines

* Break long lines into multiple short lines v2
2020-02-23 13:38:05 -08:00
springstanandGitHub a85808e325 Add and use time related constants (#32065)
* Add and use time related constants

* Sort time constants and reuse them in data rate constants

* Fix greeneyemonitor import

* Fix greeneyemonitor import V2

* Fix failing here_travel_time test

* Add TIME_MONTHS and TIME_YEARS

* Use TIME_MINUTES in opentherm_gw and isy994

* Add and use TIME_MILLISECONDS

* Change inconsistent ones

* Add TIME_MICROSECONDS and TIME_WEEKS

* Use constants in apcupsd and travisci

* Fix import error in upnp sensor.py

* Fix isy994 sensor.py using TIME_YEARS

* Fix dyson tests

* Use TIME_SECONDS in more places

* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
springstanandGitHub b41cbe9885 Add www. to all documentation links (#32063)
* Add www. to all documentation links

* Fix broken redirect uri test
2020-02-21 16:10:02 -08:00
springstanandGitHub 1ee7c483a7 Update file headers and outdated documentation links (#32022)
* Update documentation links

* Update file headers v2
2020-02-20 15:29:46 -08:00
springstanandGitHub 21f8d0a80c Bump vallox-websocket-api to 2.4.0 (#31913) 2020-02-19 10:01:21 +01:00
springstanandGitHub 83a79a434c Use slug in ping device tracker config validation (#31329)
* Use slug instead of string for config validation
2020-02-08 15:19:46 +01:00
springstanandGitHub 744ae82933 Replace cmp option with eq and order (#31423) 2020-02-02 20:28:52 -08:00
springstanandPaulus Schoutsen fb26dd3028 Revert "Bump alarmdecoder to 1.13.9 (#30303)" (#31385)
This reverts commit f11d39f8eb.
2020-02-02 15:39:36 -08:00
springstanandPaulus Schoutsen 11fcb2cc7f Fix auto_bypass in alarmdecoder (#30961)
* Fix auto_bypass in alarmdecoder

* Address review comments: used dict[key] and renamed variable

* Use dict[key] for required or optional config keys with default values
2020-02-02 15:39:32 -08:00
springstanandGitHub 3aeaf3bb96 Revert "Bump alarmdecoder to 1.13.9 (#30303)" (#31385)
This reverts commit f11d39f8eb.
2020-02-01 22:02:39 +01:00
springstanandGitHub 26415f6abd Fix auto_bypass in alarmdecoder (#30961)
* Fix auto_bypass in alarmdecoder

* Address review comments: used dict[key] and renamed variable

* Use dict[key] for required or optional config keys with default values
2020-02-01 10:01:42 +01:00
springstanandPaulus Schoutsen b7678f526c Deprecate hook integration (#31046) 2020-01-22 17:50:24 -08:00
springstanandMartin Hjelmare c3888330c1 Fix fan_modes in tuya climate (#30942) 2020-01-22 01:28:19 +01:00
springstanandMartin Hjelmare 4b67508330 Revert "Pulseaudio: Changed default port from 4712 to 4713 (#28857)" (#30939)
This reverts commit e915dd0d95.
2020-01-18 14:02:15 +01:00
springstanandRohan Kapoor 52cee84c2c Update outdated documentation links in json files (#30916) 2020-01-17 21:41:42 -08:00