* fix handling of symlinked device decriptors
* make check for symlinked paths more efficient
* make variable names pylint compliant
* move sync io during setup and device connect/disconnect to executor thread pool
* move remaining sync io during setup to executor thread pool
* remove unnecessary lambda functions
* Added support for Somfy RTS wireless power socket and
Somfy Temperature Sensore Thermos Wirefree io
* Added code formatting fixes for commit 5faaf9c
* added support for RollerShutterRTSComponent from Somfy
* Added support for RTS roller shutter in set_cover_position
* added support for enocean window handle FA 10 00 (Hoppe)
* removed spaces in empty lines
* removal of rawdata attribute / code style
* isort fix
* PyLint fixes
* Improvements after review suggestions: rename device class to sensor type to avoid ambiguousness
* added import for DEVICE_CLASS_POWER from const.py
* removed window handle unit
* Pull track position from MPD status()
This allows the progress bar to work when using the media-control card in lovelace.
* Actually commit flake8 fix!
* Extra documentation.
Mainly to trigger CI rerun.
* Updated to use self._media_position
* Add support for HobbyBoards sensors: Hub, Humidity, Moisture, PulseCounter
Add support for an owserver running on a remote host
* Cleanup and fixes for style/etc
* Forgot to convert to f-strings.
* Update with changes requested by @MartinHjelmare
* Pylint
* Fix to None
* Reverse logic for hobbyboard test to eliminate pylint complaint
* Modified manifest to list myself as codeowner
* Move some functions down into OneWireProxy instead of the top OneWire
* Oops, missed some decode()'s
* And another!
The number of total blocks is always a round number. There can't be .1 or .11 blocks for example. The output is now always formatted with two decimals that are always 00.
* Add support for input_number entities
* Update homeassistant/components/alexa/capabilities.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Removed get methods to directly access required attributes dicts.
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* fixed parsing of current to float in service set_current
* Added optional name in the config file in order to get a better entety naming (easier to find)
* fix parsing of all parameters to service calls
* addressed code review comments + updated pypi dependency
* config name imported from cont.py + minor naming changes to be more clear about the meaning of a sensor
* removed name in config again, use product name gathered from the charging station instead
* implemented suggested changes
* changed variable naming as requested
* Mechanism to rediscover a discovery that was ignored
* Add core config entry tests for new rediscover step
* Add tests for homekit_controller implementation of async_step_rediscover
* Rename rediscover to unignore
* Comment the new ignore/unignore mechanisms
* Fix imports so it works in custom_components
* Rework tado component
* Code cleanup
* Remove water_heater
* Address pylint warnings
* Remove water_heater from components
* Raise PlatformNotReady when we couldn't connect
* Revert PlatformNotReady since we are not a platform
* Add debugging information
* Add fallback setting
* Import with relative path
* Address race condition
* Cleanup
* Catch 422 Errors and log the real error
* Use async_schedule_update_ha_state to update the entities
* Forgot the True
* Include all SSDP data in discovery info
* Use UPnP device description as discovery info, inject some SSDP attrs
* Clean up attribute names
* Adapt existing SSDP flows to changed attribute names
* Prefix all SSDP UPnP attribute name constants with ATTR_UPNP, tweak a bit
* Make name customizable for nmbs live sensors
* Change order of the live name
* Added unique id to live nmbs sensor
* Revert changing the name of the live sensor
* Refactor capabilityResources object into class.
Implement semantics object to support open, close, raise, lower utterences.
Replace covers PercentageController with RangeController.
Add semantics for covers.
Remove PowerController for covers.
Add new display categories.
Add new items to Alexa Global Catalog.
Implement garage door voice PIN code support though Alexa app.
Fixed bug with getting property for ModeController.
Fixed bug were PercentageController AdjustPercentage would exceed 100.
* Comment fixes in Tests.
* Reorder imports.
* Added additional tests for more code coverage.
* Added and additional test for more code coverage.
* Explicitly return None for configuration() if not instance of AlexaCapabilityResource.
* Add unit_of_measurement to various Transmission sensors
Without unit_of_measurement, the history graph card will not show those sensors as line chart.
* Change Counts to Torrents.
* fix binary sensor offline/online
fixed self._handle_update on line 66 to produce args, kwargs.
Updated the binary sensor to check the correct index in the tuple.
* Fixed Standby switch
Set standby switch to poll in order to get status when homeassistant starts up.
Updated the index for the switch to get the status from the tuple.
* Update manifest.json
Updated sensor to use the latest version of the API to be able to use the new features.
* Updated sensor to use new API features. Configurable credentials and Inverter last reported date.
* EnvoyReader is passed to Envoy uses async update()
* Fixed pydocstyle warnings
* Fixed merge issue. Had extra variable.
* Added warning message when authentication for Inverter data fails
* Added continue after exception for loop
* Moved if statement outside of try/except
* Removed unneeded boolean attribute
The Fibaro FGR-222/FGRM-2222 ZWave roller shutter devices have a proprietary
command class to support setting the tilt angle of venetian blinds (= type of
window cover). This PR adds the support to HA for this. This allows the user to
set the height of the blinds and the tilt angle separately.
Original patch by @ChristianKuehnel #24405.
* Making tplink light more responsive.
* Adding light platform tests.
* Addressing PR feedback.
* Mocking the module, not the api.
* Using sync method for background update.
* Show current effect in yeelight device
* Use device_state_attributes instead of state_attributes
* Add early return in set effect
* Make single if elif chain
* Fix if elif
* Fix if elif
* Add unique ID to config entries
* Unload existing entries with same unique ID if flow with unique ID is
finished
* Remove unused exception
* Fix typing
* silence pylint
* Fix tests
* Add unique ID to Hue
* Address typing comment
* Tweaks to comments
* lint
Using the locals parameter makes it so that the code of a Python script runs as
if it were in the body of a ``class``. One effect of this is that functions
defined as part of a script cannot call one another directly.
Fixes: #24704, #13653
This brings back support for Z-Wave thermostats
of SETPOINT_THERMOSTAT specific device class.
Such devices don't have COMMAND_CLASS_THERMOSTAT_MODE
and are now handled separately.
* Bump adb-shell to 0.1.0 and androidtv to 0.0.36
* Add test for setting up two devices
* Add test_setup_same_device_twice
* Fix test_setup_two_devices
* Fix coverage
* Coverage
* Fix flaky 'test_setup_two_devices'
* Another stab at coverage
* Rename 'address' back to 'host'
* Fix https://github.com/home-assistant/home-assistant/issues/29853
* Run script.gen_requirements
* Update to store Token File in config directory
* Update to store Token File in config directory
* Update to store Token File in config directory
* Implement Alexa.EventDetectionSensor Interface
* Removed references to PR #28218 not yet merged into dev.
* Update tests to include Alexa Interface
* Guard for `unknown` and `unavailible` states.
* Fixed Unnecessary "elif" after "return"
* Adding filters for keypad dimmers and smoke sensor
* ran black --fast as suggested
* Adding filters for keypad dimmers and smoke sensor
* ran black --fast as suggested
* Update configuration schema to support multiple Pi-holes
* Construct sensors for each configured Pi-hole
* Ensure each Pi-hole has a unique name
* Update services to handle multiple Pi-holes
* Update tests for multiple configurations
* Refactor tests to support service testing
* Fix else-raise per pyliunt
* Per code review, add all entities in a single call
* Per code review, add the default name as default.
* Per code review, add cv.ensure_list to prevent breaking change
* Per code review, move name validation to schema
* Remove default name
* Per code review, validate api_key in schema definition
* Per code review, rename variables
* Per code review, use list comprehension
* Ensure unique slug names in config validation
* Per code review, refactor to CoroutineMock
* Fix adding sensor entities
* Per code review, refactor mock function creation
* Per code review, refactor mock function return values
* Added dummy user-agent to http request to fix setup error
* Replace dummy user-agent with the user-agent of the global home assistant session
* Adjust comment and rename user-agent constant
* Added a check for Connect actually returning something before telling the user the setup succeeded
* Added handling for KeyError in case API returns empty response, formatting
* Trying to please the linter
* Fixing issue where wrong sleep state entry was being used. closes #28370,#29397
* Fixing formatting.
* Sorting imports to get black checks to pass.
* Using lambda for getting latest sleep serie.
* Re-authorize Huawei LTE on login required error
Closes https://github.com/home-assistant/home-assistant/issues/29531
* Eliminate one indented "else" block
* Convert get_data from inline to instance method
* Use .get instead of [] for checking subscriptions for clarity
* add skeleton to retrieve zigbee groups
* get single group
* add a group
* return group members with group
* add comment
* fix group members
* add function to add device to group
* add group members
* add remove from group method
* add api to remove members from group
* add remove groups method
* clean up group add and remove
* fix remove group
* fix remove groups
* add api to get only groupable devices
* change var init
* add tests
* address review comment