Commit Graph
100 Commits
Author SHA1 Message Date
springstanandGitHub 916178925e Return attribute dict directly without temporary variable v3 (#41502) 2020-10-08 21:33:08 +02:00
springstanandGitHub 61d9067a49 Return empty dictionary at first for attributes (#41348) 2020-10-06 18:08:53 +02:00
springstanandGitHub 513f03eb1f Return attribute dict directly without temporary variable v2 (#41271) 2020-10-06 16:55:16 +02:00
springstanandGitHub 014fe48096 Add pin to base strings for config flows (#41202) 2020-10-06 11:00:36 +02:00
springstanandGitHub 038c05d0ee Return attribute dict directly without temporary variable (#41206) 2020-10-05 12:51:48 +02:00
springstanandGitHub 6102d05306 Remove unnecessary should poll from light classes (#41229) 2020-10-04 23:28:25 +02:00
springstanandGitHub b1ff69d9a3 Remove unnecessary should poll from cover classes (#41231) 2020-10-04 23:26:33 +02:00
springstanandGitHub e75557c1f5 Remove unnecessary should poll from binary sensor classes (#41221) 2020-10-04 22:11:46 +02:00
springstanandGitHub f47d58d9c2 Remove unnecessary should poll from sensor classes (#41219)
* Remove unnecessary should poll from sensor classes

* Remove two more occurrences
2020-10-04 21:35:59 +02:00
springstanandGitHub e51be33e18 Remove unnecessary should poll from switch classes (#41218) 2020-10-04 21:31:02 +02:00
springstanandGitHub f17089e46e Remove unnecessary should poll from camera classes (#41228) 2020-10-04 21:26:59 +02:00
springstanandGitHub 228e167b03 Remove unnecessary should poll from media player classes (#41220) 2020-10-04 21:26:09 +02:00
springstanandGitHub f919646519 Use already configured key in harmony and mikrotik (#41142) 2020-10-03 18:17:24 +02:00
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
springstanandGitHub 064a453604 Add already_in_progress to base strings for config flows (#40961) 2020-10-03 15:49:09 +02:00
springstanandGitHub 04daa9a378 Add name to base strings for config flows (#40947)
* Add name to base strings for config flows

* Fix HA strings.json
2020-10-03 15:28:42 +02:00
springstanandGitHub 7bafa921bb Add api token to base strings for config flows (#41133) 2020-10-03 15:26:37 +02:00
springstanandGitHub a2c3c33b22 Use core GitHub URL in all files (#41089) 2020-10-03 00:04:11 +02:00
springstanandGitHub c7ebfdb403 Use single_instance_allowed for webhook config flows (#40965) 2020-10-01 20:44:13 +02:00
springstanandGitHub 20f8bcc908 Use common strings in mqtt config flow (#40956) 2020-10-01 14:55:45 +02:00
springstanandGitHub bd1de3cd7c Use common strings in spotify config flow (#40957) 2020-10-01 14:53:33 +02:00
springstanandGitHub 1b864aeccc Use common strings in adguard config flow (#40942) 2020-10-01 12:56:55 +02:00
springstanandGitHub a3b62cea6a Use common strings in roomba config flow (#40948) 2020-10-01 12:27:47 +02:00
springstanandGitHub 62054b8433 Correct label in mqtt config flow (#40507) 2020-09-23 21:55:33 +02:00
springstanandGitHub 6c8e0e20fb Add and use light lux constant in entire code base (#40171) 2020-09-23 20:48:01 +02:00
springstanandGitHub 6a7caad8dc Use content type json constant (#40312) 2020-09-23 20:21:55 +02:00
springstanandGitHub c2d20c548f Use content type multipart constant (#40314) 2020-09-23 11:29:56 +02:00
springstanandGitHub 06a133c3e9 Add and use length millimeters constant (#40116)
* Add and use length millimeters constant

* Fix pylint error

* Fix broken accuweather sensor test
2020-09-22 21:09:17 -05:00
springstanandGitHub 0c077685b6 Use content type text plain constant (#40313) 2020-09-20 13:19:10 +02:00
springstanandGitHub b088830382 Add and use currency cent constant (#40261) 2020-09-19 10:34:54 -05:00
springstanandGitHub 7de1fe7416 Use percentage constant in more integrations (#40165) 2020-09-19 10:30:22 -05:00
springstanandGitHub e330468a13 Use pressure constants in code base (#40262) 2020-09-19 09:26:08 +02:00
springstanandPaulus Schoutsen 39c4b338f1 Increase TIMEOUT_ACK to 10s (#40117) 2020-09-16 13:33:48 +00:00
springstanandGitHub a13c4d4c17 Increase TIMEOUT_ACK to 10s (#40117) 2020-09-16 08:14:11 +02:00
springstanandGitHub 000d2047fb Add and use currency constants (#40113) 2020-09-15 15:01:01 -06:00
springstanandGitHub 90f5b178ef Use AREA_SQUARE_METERS constant in all integrations (#40107) 2020-09-15 15:00:26 -06:00
springstanandGitHub 5a12056e59 Add and use volume cubic constants (#40106) 2020-09-15 19:59:26 +02:00
springstanandGitHub db582bdc1b Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY (#39993)
* Use http status codes and add HTTP_BAD_GATEWAY constant

* Address review comments:
 - using constants in tado integration
 - using constant in media_player init.py

* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
springstanandPaulus Schoutsen a971b92899 Fix slack notifications requiring an icon (#40027) 2020-09-13 20:22:37 +00:00
springstanandPaulus Schoutsen b81c61dd99 Fix requiring username or password for nzbget yaml config (#40003) 2020-09-13 20:18:57 +00:00
springstanandGitHub 1f8c1f151d Fix requiring username or password for nzbget yaml config (#40003) 2020-09-13 22:04:48 +02:00
springstanandGitHub da19854520 Fix slack notifications requiring an icon (#40027) 2020-09-13 10:23:50 -06:00
springstanandGitHub fc1fb0ab7c Revert 'Use STATE_UNKNOWN constant in dlink and ecobee' (#40022) 2020-09-13 17:11:24 +02:00
springstanandGitHub 621526bbae Use moisture and moving device class in various integrations (#39963) 2020-09-13 16:33:54 +02:00
springstanandGitHub e55035b2f9 Use DEVICE_CLASS_MOTION in various integrations (#39962) 2020-09-12 16:20:30 -05:00
springstanandGitHub 827711bcd1 Use problem, presence and plug device class constants in various integrations (#39973) 2020-09-12 13:23:24 -05:00
springstanandGitHub 3d4ef8cfe1 Use connectivity device class constant in various integrations (#39972) 2020-09-12 13:21:57 -05:00
springstanandGitHub cee96ae207 Use opening and occupancy device class in various integrations (#39965) 2020-09-12 18:07:13 +02:00
springstanandGitHub 1bb5d4754f Use DEVICE_CLASS_DOOR and DEVICE_CLASS_SMOKE in various integrations (#39950) 2020-09-12 07:35:24 -05:00
springstanandGitHub f93c0c5cd3 Use DEVICE_CLASS_WINDOW constant in various integrations (#39949) 2020-09-11 21:24:23 -05:00
springstanandGitHub ac2e290d97 Use sound, vibration and safety device class constants in various integrations (#39952)
* Use sound, vibration and safety device class constants in various integrations

* Fix wrong imports
2020-09-11 19:37:33 -05:00
springstanandGitHub 719aa0f317 Use STATE_UNKNOWN constant in dlink and ecobee (#39948) 2020-09-11 15:05:07 -05:00
springstanandGitHub d2b1918e9c Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
springstanandGitHub e3354895f8 Round sensor readings for bom (#39513) 2020-09-02 11:59:21 -06:00
springstanandGitHub e5b360cd08 Update coronavirus to use CoordinatorEntity (#39449)
* Update coronavirus to use CoordinatorEntity

* Remove should_poll from coronavirus
2020-08-30 13:04:01 -05:00
953626b2d4 Update meteo_france to use CoordinatorEntity (#39432)
* Update meteo_france to use CoordinatorEntity

* Update homeassistant/components/meteo_france/sensor.py

* Update homeassistant/components/meteo_france/weather.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-08-30 19:52:53 +02:00
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