Maciej Bieniek
3b56e75e1d
Bump backend library for Dune HD integration ( #37594 )
2020-07-09 00:18:03 +00:00
Maciej Bieniek
43c7a8a119
Bump backend library for Dune HD integration ( #37594 )
2020-07-07 09:09:13 +02:00
Maciej Bieniek
b8f8b6fa50
Fix using the async api from sync context ( #36408 )
2020-06-03 09:46:42 -06:00
Maciej Bieniek
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 Bieniek
3d02b3afc3
Bump pdunehd library to version 1.3.1 ( #36198 )
2020-05-28 12:27:15 +02:00
Maciej Bieniek
751428fe2b
Catch NoIPControl exception ( #36088 )
2020-05-25 16:05:52 -04:00
Maciej Bieniek
03ac82d440
Remove unused decorator in Airly ( #35361 )
2020-05-08 15:10:14 +02:00
Maciej Bieniek
9ccd56c019
Bump brother to 0.1.14 ( #34930 )
2020-04-30 22:37:56 -07:00
Maciej Bieniek
d43617c41d
Bump brother to 0.1.14 ( #34930 )
2020-04-30 15:43:02 +02:00
Maciej Bieniek
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 Bieniek
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 Bieniek
2584a07452
Switch gios to async_on_remove ( #34499 )
2020-04-21 14:16:37 +02:00
Maciej Bieniek
6a4c25b668
Switch airly to async_on_remove ( #34498 )
2020-04-21 14:12:08 +02:00
Maciej Bieniek
9de57382cd
Switch brother to async_on_remove ( #34478 )
2020-04-20 14:00:46 -07:00
Maciej Bieniek
2123f6f133
Bump brother to version 0.1.13 ( #34456 )
2020-04-20 14:53:20 +02:00
Maciej Bieniek and Martin Hjelmare
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 Bieniek
c30600a044
Add unit_of_measurement property for air_quality entity ( #33304 )
2020-04-14 23:15:08 +02:00
Maciej Bieniek
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 Bieniek
a7e5cc31c3
Bump gios library to version 0.1.1 ( #33569 )
2020-04-03 10:46:22 -07:00
Maciej Bieniek
aa6520cac1
Fix source name ( #33565 )
2020-04-03 10:46:21 -07:00
Maciej Bieniek
c0315e32bd
Fix source name ( #33565 )
2020-04-03 16:10:14 +02:00
Maciej Bieniek
b5c89b4ef4
Bump gios library to version 0.1.1 ( #33569 )
2020-04-03 11:58:37 +02:00
Maciej Bieniek
c529bcca9b
Bump brother to 0.1.11 ( #33526 )
2020-04-02 17:10:36 -07:00
Maciej Bieniek
5a55d50879
Bump brother to 0.1.11 ( #33526 )
2020-04-02 13:52:03 +02:00
Maciej Bieniek
de2f506585
Migrate GIOS to use DataUpdateCoordinator ( #33306 )
...
* Migrate to DataUpdateCoordinator
* Simplify code
2020-03-28 20:57:06 -07:00
Maciej Bieniek
815d153e55
Bump gios library to version 0.0.5 ( #33266 )
2020-03-25 16:24:28 -07:00
Maciej Bieniek
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 Bieniek
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 Bieniek
9d87c1ab1a
Bump gios to 0.0.4 ( #33141 )
2020-03-22 13:44:57 +01:00
Maciej Bieniek
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 Bieniek
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 Bieniek
b9ad40ed38
Bump brother to 0.1.9 ( #32861 )
2020-03-16 12:00:39 +01:00
Maciej Bieniek
96a0aa3d2b
Add new sensors to Brother integration ( #32466 )
...
* Add new sensors
* Suggested change
2020-03-09 11:54:43 -07:00
Maciej Bieniek
2f8381b1bf
Bump brother library ( #32436 )
2020-03-03 16:59:02 +01:00
Maciej Bieniek
39fd7ca5d3
Bump brother to 0.1.6 ( #32054 )
2020-02-21 17:38:27 -08:00
Maciej Bieniek
dd8597cb46
Bump brother to 0.1.6 ( #32054 )
2020-02-21 10:32:48 +01:00
Maciej Bieniek
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 Bieniek
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 Bieniek
4cd2e09fb3
Add missing string for already_configured in GIOS integration ( #30590 )
2020-01-08 19:44:03 +01:00
Maciej Bieniek
6e3e383b3f
Add missing string for already_configured in Brother integration ( #30584 )
2020-01-08 16:15:05 +01:00
Maciej Bieniek
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 Bieniek
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 Bieniek
80be3b74a9
Init entities as unavailable when offline ( #29738 )
2019-12-19 14:10:27 +01:00
Maciej Bieniek
f5306f769c
Fix Airly if more than one config entry ( #28498 )
2019-11-05 09:08:05 -08:00
Maciej Bieniek
4e40394972
Fix Airly if more than one config entry ( #28498 )
2019-11-04 00:58:35 +01:00
Maciej Bieniek
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 Bieniek
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 Bieniek
86a4be1636
Fix attribution ( #27815 )
2019-10-17 17:22:40 -07:00
Maciej Bieniek
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 Bieniek
652bf54044
Fix update after network error ( #27444 )
2019-10-12 12:57:01 -07:00
Maciej Bieniek
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
Maciej Bieniek
3b4a9a337b
Add abbreviation for light template variable names ( #24336 )
2019-06-06 18:10:23 +02:00
Maciej Bieniek
16a27c3f2d
Add abbreviation for position_topic ( #23740 )
2019-05-07 22:20:55 +02:00
Maciej Bieniek
6e300bd438
Add missing service for persistent_notification ( #23230 )
2019-04-19 15:14:48 +02:00
Maciej Bieniek
b8e38c1b25
Add new data fields and bump python-join-api ( #22472 )
...
* Add new data fields and bump python-join-api
* Update __init__.py
2019-03-27 19:56:27 -07:00
Maciej Bieniek
27a9f5a05c
Round illumination and lux value to one ( #19747 )
2019-01-04 18:25:37 +01:00
Maciej Bieniek
a0a54dfd5b
Add unique_id to mqtt camera ( #16569 )
...
* Add unique_id to mqtt camera
* Remove whitespaces
* Add test for unique_id
* Add blank line
2018-09-21 13:09:54 +02:00
Maciej Bieniek
e75a1690d1
Add unique_id to MQTT Light ( #16303 )
...
* Add unique_id
* Delete whitespaces
2018-09-01 23:37:03 +02:00
Maciej Bieniek
c78e8eb578
Add support for light sensors with 'lx' unit to HomeKit ( #14131 )
...
* add support for light sensors with lx unit
* add test for light sensor with 'lx' unit
2018-04-28 17:14:34 +02:00
Maciej Bieniek
48c86e07fa
fix gateway illumination sensor value ( #10045 )
2017-10-23 13:45:34 +02:00
Maciej Bieniek
ccde371a9d
fix gateway illumination sensor value ( #10045 )
2017-10-23 08:02:20 +02:00
Maciej Bieniek
62caea6bfb
fix temperature/humidity sensors valid values ( #10024 )
2017-10-22 11:59:24 +02:00