Commit Graph
100 Commits
Author SHA1 Message Date
Maciej BieniekandGitHub 13f0ea506e Bump brother to 0.1.18 (#41056) 2020-10-11 11:04:27 -05:00
Maciej BieniekandGitHub 9d1aa70c62 Fix description reference in PoolSense config flow (#41535) 2020-10-09 11:16:16 +02:00
Maciej BieniekandGitHub 0dabf4962e Use already_configured_location string in GIOS config flow (#41384) 2020-10-07 15:30:46 +02:00
Maciej BieniekandGitHub 4434958265 Use name translation reference in Airly config flow (#41319)
* Use more translation references

* Revert already_configured string
2020-10-07 15:24:32 +02:00
Maciej BieniekandGitHub ca441a79aa Add invalid_host to base strings for config flows (#41381) 2020-10-07 11:24:31 +02:00
Maciej BieniekandGitHub 81ceb3e499 Add already_configured_location to base strings for config flows (#41335)
* Add already_configured_location key

* Use already_configured_location in Airly

* Use already_configured_location in Flu Near You

* Use already_configured_location in OpenUV

* Use already_configured_location in Open Weather Map

* Use already_configured_location in AirVisual
2020-10-06 22:34:06 -05:00
Maciej BieniekandGitHub d9e48b483b Use name translation reference in AccuWeather config flow (#41338) 2020-10-06 16:49:02 +02:00
Maciej BieniekandGitHub ae54c21945 Use name reference and fix already_configured string for GIOS integration (#41323) 2020-10-06 14:54:02 +02:00
Maciej BieniekandGitHub d3a0743fea Use reference strings in Abode (#41004)
* Use translation references

* Suggested change

* Remove unused string

* Rename invalid_credentials key

* Fix invalid_auth in manifest.json file
2020-10-02 21:59:55 +02:00
Maciej BieniekandGitHub bba0bb1bad Fix the name of the translation key for Brother integration (#41054) 2020-10-02 15:06:28 +02:00
Maciej BieniekandGitHub 670404f43a Use translation references for BraviaTV config flow (#40955) 2020-10-01 13:16:07 +02:00
Maciej BieniekandGitHub 0d523d7116 Use translation references for Brother config flow (#40953) 2020-10-01 13:02:53 +02:00
Maciej BieniekandGitHub 75a6dacaba Use translation references for gios config flow (#40952) 2020-10-01 12:54:10 +02:00
Maciej BieniekandGitHub d1c04750cd Add voltage, power factor and energy returned sensors to Shelly integration (#40681) 2020-10-01 12:08:03 +02:00
Maciej BieniekandPaulus Schoutsen c07c6ca413 Bump aioshelly library to version 0.3.3 (#40415) 2020-09-28 12:27:40 +00:00
Maciej BieniekandGitHub 29d87646dd Improve config flow descriptions in Shelly integration (#40396) 2020-09-28 13:35:40 +02:00
Maciej BieniekandGitHub 088558b8df Increase the timeout during config entry setup in Shelly integration (#40684) 2020-09-27 23:03:47 +02:00
Maciej BieniekandGitHub b8f837365c Bump aioshelly library to version 0.3.3 (#40415) 2020-09-26 22:39:02 +02:00
Maciej BieniekandFranck Nijhof 016834185a Bump accuweather library to version 0.0.11 (#40458) 2020-09-25 09:27:00 +02:00
Maciej BieniekandFranck Nijhof b1ac920505 Fix OSError (#40393) 2020-09-25 09:26:25 +02:00
Maciej BieniekandGitHub 0400754270 Bump accuweather library to version 0.0.11 (#40458) 2020-09-22 17:36:44 +02:00
Maciej BieniekandGitHub 663245c351 Fix OSError (#40393) 2020-09-21 21:10:02 +02:00
Maciej BieniekandPaulus Schoutsen 7f8a89838b Bump aioshelly library to version 0.3.2 (#40118) 2020-09-16 13:36:01 +00:00
Maciej BieniekandPaulus Schoutsen 4518335a56 Remove the unnecessary prefix from the sensor names in the Shelly integration (#40097) 2020-09-16 13:33:47 +00:00
Maciej BieniekandGitHub 413263a6eb Bump aioshelly library to version 0.3.2 (#40118) 2020-09-16 00:12:59 +02:00
Maciej BieniekandGitHub 56ba4907e1 Remove the unnecessary prefix from the sensor names in the Shelly integration (#40097) 2020-09-15 16:30:33 +02:00
Maciej BieniekandPaulus Schoutsen 5165d746aa Add missing sensors after reworking sensor platform in Shelly integration (#39765) 2020-09-09 13:15:44 +00:00
Maciej BieniekandGitHub 748e2696dc Add missing sensors after reworking sensor platform in Shelly integration (#39765) 2020-09-08 23:22:44 +02:00
Maciej BieniekandGitHub f29154011e Bump aioshelly library to 0.3.0 (#39716) 2020-09-06 10:34:51 -05:00
Maciej BieniekandGitHub 1e770f089d Bump accuweather library (#39667) 2020-09-04 18:01:49 -05:00
Maciej BieniekandGitHub 8b4847162d Bump gios library (#39669) 2020-09-04 18:01:34 -05:00
Maciej BieniekandGitHub f1ee11cb14 Bump brother library (#39657) 2020-09-04 11:21:23 -05:00
Maciej BieniekandGitHub 0b7576b634 Add some missing sensors for Shelly integration (#39651) 2020-09-04 16:42:57 +02:00
Maciej BieniekandGitHub ad3e520e09 Fix sensors without unit attribute in Shelly integration (#39629) 2020-09-04 11:44:22 +02:00
7e50a4999c Add support for Shelly Gas to the Shelly integration (#39478)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-03 10:54:25 +02:00
Maciej BieniekandGitHub 226406b853 Improve tests for GIOS integration (#39514) 2020-09-03 09:27:21 +02:00
Maciej BieniekandGitHub 7e87181826 Bump gios library to version 0.1.3 (#39507) 2020-08-31 16:55:59 +02:00
Maciej BieniekandGitHub 80910b4f9a Add bieniu as code owner for shelly (#39467) 2020-08-30 13:17:27 -05:00
Maciej BieniekandGitHub 0cffba77cf Add more sensors to the Shelly integration (#39368) 2020-08-30 14:18:35 +02:00
Maciej BieniekandGitHub 4aa8b6cad8 Add basic binary_sensor support to Shelly (#39365) 2020-08-30 14:16:41 +02:00
Maciej BieniekandGitHub 2568932c1c Bump brother library to version 0.1.15 (#39226) 2020-08-26 10:55:57 +02:00
a7e19c8896 Improve tests for AccuWeather integration (#38621)
* Add more tests

* Add tests for sensor platform

* Add more tests

* More tests

* Simplify parsing of attributes

* Change Quality scale to platinum

* Patch the library in the manual update entity test

* Add unsupported condition icon test

* Do not patch _async_get_data

* Apply suggestions from code review

* Update config_flow.py

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Update tests/components/accuweather/test_weather.py

* Apply suggestions from code review

* Add return_value

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 09:21:36 -05:00
Maciej BieniekandGitHub 8258dcf41d Add device_info property and simplify generation of unique_id for Airly integration (#38479) 2020-08-05 12:55:14 +02:00
Maciej BieniekandGitHub 56f8ced267 Add device_info property for AccuWeather integration (#38480) 2020-08-05 12:50:34 +02:00
Maciej BieniekandGitHub d47900473e Add device_info to GIOS integration (#38503) 2020-08-05 12:47:33 +02:00
Maciej BieniekandGitHub a57dca1e11 Add sensor platform for AccuWeather integration (#38312)
* Add sensor platform

* Fix typo
2020-08-02 09:22:51 -05:00
Maciej BieniekandGitHub ad0560ef37 Improve tests for Airly integration (#38357)
* Add tests

* More tests

* Add PARALLEL_UPDATES

* Change Quality scale to platinum

* Change PARALLEL_UPDATES value
2020-07-30 08:41:18 -10:00
Maciej BieniekandGitHub 2b0914994d Add changes from comments after merging AccuWeather (#38227)
* Fix documentation url

* Return None instead STATE_UNKNOWN

* Invert forecast check

* Patch async_setup_entry in test_create entry

* Improve test name, docstring and add comment
2020-07-26 20:00:47 -05:00
Maciej BieniekandGitHub 581c4a4edd Add AccuWeather integration (#37166)
* Initial commit

* Fix strings

* Fix unit system

* Add config_flow tests

* Simplify tests

* More tests

* Update comment

* Fix pylint error

* Run gen_requirements_all

* Fix pyline error

* Round precipitation and precipitation probability

* Bump backend library

* Bump backend library

* Add undo update listener on unload

* Add translation key for invalid_api_key

* Remove entity_registry_enabled_default property

* Suggested change

* Bump library
2020-07-24 15:59:15 -05:00
Maciej BieniekandPaulus Schoutsen 3b56e75e1d Bump backend library for Dune HD integration (#37594) 2020-07-09 00:18:03 +00:00
Maciej BieniekandGitHub 43c7a8a119 Bump backend library for Dune HD integration (#37594) 2020-07-07 09:09:13 +02:00
Maciej BieniekandGitHub b8f8b6fa50 Fix using the async api from sync context (#36408) 2020-06-03 09:46:42 -06:00
Maciej BieniekandGitHub 465b98513b Add config flow to Dune HD (#36345)
* Add config_flow to the dunehd integration

* Add tests

* Run gen_requirements_all

* Fix pylint error

* Better hostname validation

* Build device info in the class
2020-06-03 07:01:56 -05:00
Maciej BieniekandGitHub 3d02b3afc3 Bump pdunehd library to version 1.3.1 (#36198) 2020-05-28 12:27:15 +02:00
Maciej BieniekandGitHub 751428fe2b Catch NoIPControl exception (#36088) 2020-05-25 16:05:52 -04:00
Maciej BieniekandGitHub 03ac82d440 Remove unused decorator in Airly (#35361) 2020-05-08 15:10:14 +02:00
Maciej BieniekandPaulus Schoutsen 9ccd56c019 Bump brother to 0.1.14 (#34930) 2020-04-30 22:37:56 -07:00
Maciej BieniekandGitHub d43617c41d Bump brother to 0.1.14 (#34930) 2020-04-30 15:43:02 +02:00
Maciej BieniekandPaulus Schoutsen 81a2fb9615 Reload braviatv entry after options update (#34576)
* Reload entry after options update

* Undo update listener when unloading
2020-04-30 00:11:13 -07:00
Maciej BieniekandGitHub 58bff0a183 Reload braviatv entry after options update (#34576)
* Reload entry after options update

* Undo update listener when unloading
2020-04-29 09:27:45 -05:00
Maciej BieniekandGitHub 2584a07452 Switch gios to async_on_remove (#34499) 2020-04-21 14:16:37 +02:00
Maciej BieniekandGitHub 6a4c25b668 Switch airly to async_on_remove (#34498) 2020-04-21 14:12:08 +02:00
Maciej BieniekandGitHub 9de57382cd Switch brother to async_on_remove (#34478) 2020-04-20 14:00:46 -07:00
Maciej BieniekandGitHub 2123f6f133 Bump brother to version 0.1.13 (#34456) 2020-04-20 14:53:20 +02:00
6dc6f2d099 Add config flow for braviatv integration (#33774)
* Run scripts

* Improvement strings

* Fix FlowOptions update listener

* Update .ceveragerc

* Add tests

* Better strings

* Add test for OptionsFlow

* Run gen_requirements_all.py once again

* Fix pylint errors

* Log error when there is no bravia.conf file during import

* Improvement strings

* Use braviarc object from hass.data in options flow

* Use async_add_executor_job for IO

* Fix options flow test

* Fix tests

* Remove host_reachable method

* Remove dependencies

* Change setup_platform method to async

* Remove calling system_info

* Save mac in the config entry

* Fix get ignore sources

* Fix read config from file

* Remove the side effect from init

* Fix user_input for user step

* Switch OrderedDict to dict

* New config_entry instance for each test

* Revert change

* Patch async_setup_entry in test_import

* Change a way to create source list

* Consolidate repeated block of code

* Update tests

* Suggested change

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Suggested channge

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Suggested change

* Patch async_setup_entry

* Remove unnecesary if

* suggested change

* Suggested change

* Fix tests

* Fix pylint error

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-15 01:04:06 +02:00
Maciej BieniekandGitHub c30600a044 Add unit_of_measurement property for air_quality entity (#33304) 2020-04-14 23:15:08 +02:00
Maciej BieniekandGitHub b60527c986 Change the method of getting the mac address in the braviatv i… (#33567)
* Remove getmac library

* Fix error handling

* Change error handling method
2020-04-03 22:44:28 -07:00
Maciej BieniekandPaulus Schoutsen a7e5cc31c3 Bump gios library to version 0.1.1 (#33569) 2020-04-03 10:46:22 -07:00
Maciej BieniekandPaulus Schoutsen aa6520cac1 Fix source name (#33565) 2020-04-03 10:46:21 -07:00
Maciej BieniekandGitHub c0315e32bd Fix source name (#33565) 2020-04-03 16:10:14 +02:00
Maciej BieniekandGitHub b5c89b4ef4 Bump gios library to version 0.1.1 (#33569) 2020-04-03 11:58:37 +02:00
Maciej BieniekandPaulus Schoutsen c529bcca9b Bump brother to 0.1.11 (#33526) 2020-04-02 17:10:36 -07:00
Maciej BieniekandGitHub 5a55d50879 Bump brother to 0.1.11 (#33526) 2020-04-02 13:52:03 +02:00
Maciej BieniekandGitHub de2f506585 Migrate GIOS to use DataUpdateCoordinator (#33306)
* Migrate to DataUpdateCoordinator

* Simplify code
2020-03-28 20:57:06 -07:00
Maciej BieniekandGitHub 815d153e55 Bump gios library to version 0.0.5 (#33266) 2020-03-25 16:24:28 -07:00
Maciej BieniekandGitHub 16670a38a4 Dynamic update interval for Airly integration (#31459)
* Initial commit

* dynamic update

* Don't update when add entities

* Cleaning

* Fix MAX_REQUESTS_PER_DAY const

* Fix pylint errors

* Fix comment

* Migrate to DataUpdateCoordinator

* Cleaning

* Suggested change

* Change try..except as suggested

* Remove unnecessary self._attrs variable

* Cleaning

* Fix typo

* Change update_interval method

* Add comments

* Add ConfigEntryNotReady
2020-03-25 11:13:28 -07:00
Maciej BieniekandGitHub 5c2bd8b743 Add unique ID propery to braviatv entity (#33037)
* Add unique_id property

* Use cid to generate unique_id

* Remove debug file

* Add _unique_id declaration

* Suggested change

* Remove unused self._id
2020-03-23 22:16:17 +01:00
Maciej BieniekandGitHub 9d87c1ab1a Bump gios to 0.0.4 (#33141) 2020-03-22 13:44:57 +01:00
Maciej BieniekandGitHub 3461f3a1ed Tests improvements to the Brother integration (#32982)
* Add tests for states of the sensors

* Revert async_update method

* Tests improvement

* Fix icon name

* Tests improvement

* Simplify tests

* Test improvement

* Patch the library instead of the coordinator

* Suggested change

* Remove return_value
2020-03-20 10:21:43 +01:00
Maciej BieniekandGitHub c1ceab09e5 Migrate Brother to use DataUpdateCoordinator (#32800)
* Use DataCoordinator to update Brother data

* Simplify error text

* Improve tests

* Rename DEFAULT_SCAN_INTERVAL to SCAN_INTERVAL

* Add entity_registry_enabled_default property

* Add quality_scale to manifest.json file

* Remove misleading coordinator.data.data
2020-03-17 22:21:56 -05:00
Maciej BieniekandGitHub b9ad40ed38 Bump brother to 0.1.9 (#32861) 2020-03-16 12:00:39 +01:00
Maciej BieniekandGitHub 96a0aa3d2b Add new sensors to Brother integration (#32466)
* Add new sensors

* Suggested change
2020-03-09 11:54:43 -07:00
Maciej BieniekandGitHub 2f8381b1bf Bump brother library (#32436) 2020-03-03 16:59:02 +01:00
Maciej BieniekandPaulus Schoutsen 39fd7ca5d3 Bump brother to 0.1.6 (#32054) 2020-02-21 17:38:27 -08:00
Maciej BieniekandGitHub dd8597cb46 Bump brother to 0.1.6 (#32054) 2020-02-21 10:32:48 +01:00
Maciej BieniekandPaulus Schoutsen 4c27d6b9aa Add zeroconf discovery support to Brother Printer integration (#30959)
* Add zeroconf discovery support

* Fix data for config_entry

* Add sting for zeroconf confirm dialog

* Add and fix tests

* Fix pylint errors

* Suggested changes

* Tests

* Remove unnecessary object

* Add error handling

* Remove unnecessary objects

* Suggested change

* Suggested change

* Use core interfaces for tests
2020-01-22 11:34:11 -08:00
Maciej Bieniekandspringstan 15645ab0c9 Add unique ID to Airly config entries (#30681)
* Add unique ID to Airly config entries

* Update tests

* Update tests

* Fix typo

* Remove unnecesary and undo changes in first test

* Suggested change
2020-01-13 13:28:07 +01:00
Maciej BieniekandFranck Nijhof 4cd2e09fb3 Add missing string for already_configured in GIOS integration (#30590) 2020-01-08 19:44:03 +01:00
Maciej BieniekandFranck Nijhof 6e3e383b3f Add missing string for already_configured in Brother integration (#30584) 2020-01-08 16:15:05 +01:00
Maciej BieniekandAndrew Sayre 21029b1d7b Add Brother Printer integration (#30359)
* Init entities as unavailable when offline

* Initial commit

* Fix CODEOWNERS

* CODEOWNERS

* Run script.hassfest

* Add initial test

* Bump library

* More tests

* Tests

* Add new sensors and fix KeyError

* Fix unique_id and device_info

* Fix check for configured device

* More tests

* Bump library version

* Add uptime sensor

* Use config entry unique ID

* Run python3 -m script.gen_requirements_all

* Fix pylint error

* Remove pysnmp dependency

* Raise ConfigEntryNotReady when device offline at HA start

* Remove period from logging message

* Generator simplification

* Change raise_on_progress

* Rename data to printer

* Move update state to async_update

* Remove unused _unit_of_measurement

* Remove update of device_info

* Suggested change for tests

* Remove unnecessary argument

* Suggested change
2020-01-06 11:06:16 -06:00
Maciej BieniekandMartin Hjelmare 2c1a7a54cd Add GIOS integration (#28719)
* Initial commit

* Add gios to requirements

* Add tests

* Update .coveragerc file

* Run gen_requirements_all.py

* Change DEFAULT_SCAN_INTERVAL

* Better strings

* Bump library version

* run script.hassfest

* run isort

* Add icons mapping

* Remove unnecessary f-string

* Remove unnecessary listener

* Refactoring config_flow

* Add unique_id to config entry

* Change AQI states to consts in English

* Remove unused init

* Remove unused exception

* Remove private instance attribute

* Remove overwrite state property

* Fix pylint error

* Add SCAN_INTERVAL for air_quality entity

* Add _abort_if_unique_id_configured()
2019-12-31 13:05:31 +01:00
Maciej BieniekandPaulus Schoutsen 80be3b74a9 Init entities as unavailable when offline (#29738) 2019-12-19 14:10:27 +01:00
Maciej BieniekandPaulus Schoutsen f5306f769c Fix Airly if more than one config entry (#28498) 2019-11-05 09:08:05 -08:00
Maciej BieniekandMartin Hjelmare 4e40394972 Fix Airly if more than one config entry (#28498) 2019-11-04 00:58:35 +01:00
Maciej BieniekandPaulus Schoutsen b71e1affdb Fix Airly asyncio timeout error (#28387)
* Raise ConfigEntryNotReady

* Better asyncio.TimeoutError handling

* Sort imports

* Increase asyncio timeout
2019-10-31 12:11:28 -07:00
Maciej BieniekandPaulus Schoutsen d133501735 Fix Airly asyncio timeout error (#28387)
* Raise ConfigEntryNotReady

* Better asyncio.TimeoutError handling

* Sort imports

* Increase asyncio timeout
2019-10-31 09:29:27 -07:00
Maciej BieniekandPaulus Schoutsen 86a4be1636 Fix attribution (#27815) 2019-10-17 17:22:40 -07:00
Maciej BieniekandPascal Vizeli ec78821161 Add sensor platform to Airly integration (#27717)
* Add sesnor.py file

* Move AirlyData to __init__

* Cleaning

* Update .coveragerc file

* Sort consts

* Sort imports

* Remove icons from sensors with device_class
2019-10-16 12:06:52 +02:00
Maciej BieniekandPaulus Schoutsen 652bf54044 Fix update after network error (#27444) 2019-10-12 12:57:01 -07:00
Maciej BieniekandMartin Hjelmare 8ba4ee1012 Add Airly integration (#26375)
* Add Airly integration

* Update .coveragerc file

* Remove AVAILABLE_CONDITIONS and fix device_class

* Don't create client on every update

* Rename client to session

* Rename state_attributes to device_state_attributes

* Remove log latitude and longitude

* Fix try...except

* Change latitude and longitude to HA defaults

* _show_config_form doesn't need coroutine

* Simplify config_flow errors handlig

* Preetier

* Remove unnecessary condition

* Change sensor platform to air_quality

* Remove PM1

* Make unique_id more unique

* Remove ,

* Add tests for config_flow

* Move conf to CONFIG

* Remove domain from unique_id

* Change the way update of attrs

* Language and attrs

* Fix attrs

* Add aiohttp error handling

* Throttle as decorator

* Suggested change

* Suggested change

* Invert condition

* Cleaning

* Add tests

* Polish no sesnor error handling

* Better strings

* Fix test_invalid_api_key

* Fix documentation url

* Remove unnecessary test

* Remove language option

* Fix test_invalid_api_key once again

* Sort imports

* Remove splits in strings
2019-10-04 13:58:29 +02:00