Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/home-assistant/core.git. Pull mirroring updated .
  1. Dec 23, 2019
    • Alan Tse's avatar
      Enable config flow for Tesla (#28744) · 3aa2ae17
      Alan Tse authored
      
      * build: bump teslajsonpy to 0.2.0
      
      * Remove tests
      
      * feat: add config flow
      
      * feat: add async
      
      * perf: convert unnecessary async calls to sync
      
      * feat: add charger voltage and current sensor
      
      * feat: add options flow
      
      * build: bump teslajsonpy to 0.2.0
      
      * Remove icon property
      
      * Revert climate mode change
      
      * Remove charger sensor
      
      * Simplify async_setup_platform
      
      * Update homeassistant/components/tesla/sensor.py
      
      Co-Authored-By: default avatarPaulus Schoutsen <paulus@home-assistant.io>
      
      * Update homeassistant/components/tesla/binary_sensor.py
      
      Co-Authored-By: default avatarPaulus Schoutsen <paulus@home-assistant.io>
      
      * Address requested changes
      
      * Fix pylint error
      
      * Address requested changes
      
      * Update codeowners
      
      * Fix pylint error
      
      * Address requested changes
      
      * Address requested change
      
      * Remove unnecessary check for existing config entry
      
      * Load scan_interval in async_setup_entry
      
      * Include coverage of config_flow
      
      * Add tests for full coverage
      
      * Address requested test changes
      
      * Remove unnecessary init lines
      
      * Remove unnecessary init
      
      Co-authored-by: default avatarPaulus Schoutsen <paulus@home-assistant.io>
      3aa2ae17
  2. Dec 17, 2019
  3. Dec 16, 2019
  4. Dec 14, 2019
  5. Dec 12, 2019
  6. Dec 09, 2019
    • Quentame's avatar
      Add config flow to iCloud (#28968) · c804f8f9
      Quentame authored
      * iCloud: setup ConfigFlow and prepare for more platforms
      
      - add config flow + tests
      - fix existing services
      - add play_sound & display_message services
      - document services
      - can use devices with the same name
      - prepare to add sensor platform
      
      * Review : not copy account conf
      
      * Review: Safer test patch
      
      * Review: remove reset_account
      
      * Review: Use executor_job while IO
      
      * Review: Use executor_job while IO 2
      
      * Review: use hass.helpers.storage.Store()
      
      * Review: no IO in tests
      
      * Remove reset from services.yaml
      
      * Review: remove authenticate.return_value = Mock()
      
      * Review: do not initialize the api with the mocked service
      
      * isort
      
      * Review: @MartinHjelmare Test config flow with all steps
      
      * Review: Fix failed tests names
      
      * Codevov: Add one missing test
      c804f8f9
    • Pascal Vizeli's avatar
      Cleanup removed component (#29788) · 3a28361b
      Pascal Vizeli authored
      3a28361b
  7. Dec 08, 2019
    • Bernhard B's avatar
      Add Signal Messenger integration (#28537) · d451e54e
      Bernhard B authored
      * added signalmessenger integration
      
      * allows to send a message (with an attachment) to one or more
        recipients
      
      * added signalmessenger documentation to manifest file
      
      * remove debug logging from signalmessenger integration
      
      * add signalmessenger to .coveragerc
      
      * fixed typo in signalmessenger manifes
      
      * moved service specific code to own pypi library
      
      * updated pysignalclirestapi dependeny in manifest.json
      
      * added pysignalclirestapi requirement for signalmessenger component
      
      * fixed typo in codeowners
      
      * reworked signalmessenger integration based on code review input
      
      * updated requirements for signalmessenger
      
      * small code improvements in signalmessenger integration
      
      * no need to use the get() method to access dict parameters that are
      required
      
      * small changes in signalmessenger integration
      
      * re-ordered import statements
      * removed empty "requirements" list (not needed)
      
      * changed import order in signalmessenger integration according to PEP 8
      
      * used isort to order includes in signalmessenger integration
      
      * renamed signalmessenger to signal_messenger
      
      * renamed signalmessenger to signal_messenger in CODEOWNERS file
      
      * changed documentation url in signal_messenger integration to new name
      
      * changed signal messenger naming in .coveragerc
      d451e54e
    • Robert Van Gorkom's avatar
      Add tests for vera component (#28340) · e577f047
      Robert Van Gorkom authored
      * Adding tests for vera component.
      Fixing update bug in the vera climate platform.
      
      * Updating requrements file.
      
      * Moving vera stop to a job.
      Sorting imports.
      
      * Addressing simple PR feedback.
      
      * Splitting tests into platforms.
      
      * Mocking controller instead of using requests_mock.
      
      * Updating pyvera to use version that stops threads quickly.
      
      * Updating requirements files.
      
      * Mocking the pyvera module, not the API.
      
      * Addressing PR feedback.
      Handling start/stop of patch in fixture.
      Removing unecessary code.
      
      * Using generator
      e577f047
    • James Nimmo's avatar
      Add IntesisHome Climate Platform (#25364) · c7877397
      James Nimmo authored
      * Add IntesisHome Climate Platform
      
      * Add support for IntesisHome and Airconwithme devices
      
      * Implement requested changes from PR review
      
      * Improve error handling for IntesisHome component
      
      * Fix snake-case naming style
      
      * Update exception logging
      c7877397
  8. Dec 02, 2019
    • Felipe Martins Diel's avatar
      Broadlink remote (#26528) · 5a24dbf5
      Felipe Martins Diel authored
      * Add broadlink remote control platform
      
      * Fix order of the imports
      
      * Add remote.py to .coveragerc
      
      * Optimize MAC address validation
      
      * Use storage helper class and improve code readability
      
      * Add me to the manifest as a code owner
      
      * Fix dosctring
      
      * Add me to the code owners
      
      * Remove storage schemas, rename storage keys and improve readability
      5a24dbf5
  9. Dec 01, 2019
    • Andreas Oberritter's avatar
      Add ATEN PE component for ATEN eco PDUs (#27960) · 64628c1f
      Andreas Oberritter authored
      * Add ATEN PE component for ATEN eco PDUs
      
      * aten_pe: Require host configuration
      
      * aten_pe: Do not import from other integrations
      
      * aten_pe: Include unnamed outlets
      
      * aten_pe: Avoid get() for config entries having default values
      
      * aten_pe: Fix documentation URI
      
      * aten_pe: Remove unused return value
      
      * aten_pe: Update atenpdu lib to 0.2.0 for asyncio
      
      * aten_pe: Raise exception if initialization fails
      
      * aten_pe: Update atenpdu lib to 0.3.0 for improved exception handling
      64628c1f
  10. Nov 28, 2019
    • Wim Haanstra's avatar
      Dsmr reader (#28701) · daed3145
      Wim Haanstra authored
      * Added DSMR Reader platform
      
      - Added DSMR Reader platform
      - Updated codeowners for other components I added earlier
      
      * Move sensor definitions to new file
      
      * Sensor definitions in new file
      
      * Add energy prices from MQTT
      
      * lint fixes
      
      * Black formatted some files
      
      * Update .coveragerc
      
      * Support transform methods on definitions
      
      * Manifest mangled by Black, fixed
      
      * Visual studio code reformatting dictionary error
      
      * Fix issues with code, remove unrelated manifest changes
      
      * Update CODEOWNERS
      daed3145
    • Raman Gupta's avatar
      move wemo services to wemo domain (#29135) · 88376bf3
      Raman Gupta authored
      88376bf3
  11. Nov 27, 2019
  12. Nov 26, 2019
    • Nikolay Vasilchuk's avatar
      StarLine integration (#27197) · a37260fa
      Nikolay Vasilchuk authored
      * Device Tracker works
      
      * Device Tracker works
      
      * Binary Sensor
      
      * Sensor
      
      * Lock
      
      * Switch and service
      
      * New switches
      
      * Update interval options
      
      * WIP
      
      * Translation errors
      
      * Check online state
      
      * WIP
      
      * Move to aiohttp
      
      * Some checks
      
      * CI
      
      * CI
      
      * .coveragerc
      
      * Black
      
      * icon_for_signal_level test
      
      * update_interval renamed to scan_interval
      
      * async logic
      
      * Fix cookie read
      
      * Requirement starline
      
      * Reformat
      
      * Requirements updated
      
      * ConfigEntryNotReady
      
      * Requirement starline
      
      * Lint fix
      
      * Requirement starline
      
      * available status
      
      * Translations
      
      * Expiration to config
      
      * CI
      
      * Linter fix
      
      * Small renaming
      
      * Update slnet token
      
      * Starline version bump
      
      * Fix updates
      
      * Black
      
      * Small fix
      
      * Removed unused fields
      
      * CI
      
      * set_scan_interval service
      
      * deps updated
      
      * Horn switch
      
      * Starline lib updated
      
      * Starline lib updated
      
      * Black
      
      * Support multiple integrations
      
      * Review
      
      * async_will_remove_from_hass
      
      * Deps updated
      
      * Test config flow
      
      * Requirements
      
      * CI
      
      * Review
      
      * Review
      
      * Review
      
      * Review
      
      * Review
      
      * CI
      
      * pylint fix
      
      * Review
      
      * Support "mayak" devices
      
      * Icons removed
      
      * Removed options_flow
      
      * Removed options_flow test
      
      * Removed options_flow test
      a37260fa
    • Raman Gupta's avatar
      Update service domain for epson from 'media_player' to 'epson' (#29113) · c2165047
      Raman Gupta authored
      * update .coveragerc, move epson constants to const.py, move epson cutsom service to epson domain
      
      * Newline in services.yaml
      c2165047
    • Raman Gupta's avatar
      Update service domain for bluesound from 'media_player' to 'bluesound' (#29111) · 2da37778
      Raman Gupta authored
      * move service constants to const.py, move services to bluesound domain
      
      * Remove bluesound services from media_player/services.yaml
      2da37778
  13. Nov 23, 2019
    • Chris Mandich's avatar
      Add flume support (#27235) · 08432c7c
      Chris Mandich authored
      * Add Flume Sensor
      
      Add support for Flume API and sensor
      
      * Add support for choosing timezone
      
      Timezone is now a required option in configuration.yaml
      
      * Add Flume to coveragerc and CODEOWNERS
      
      Add flume to be ommited from testing. Add @ChrisMandich as Flume Code owner
      
      * Revert "Add Flume to coveragerc and CODEOWNERS"
      
      This reverts commit 0b27437a3b13f024332c6498b3bb0d554482e49b.
      
      * Update manifest.json
      
      Added Documentation URL for Flume to HASS.IO
      
      * Update manifest.json
      
      Added missing Newline at EOF.
      
      * Update sensor.py
      
      Update sensor to not required Device ID for configuration. Now loops through all available Type 2 devices and adds them as an entity.
      
      * Update Manifest, CODEOWNERS, and manifest.json
      
      Resolved errors related to code owners and requirements. Using hassfest and gen_requirements_all
      
      * Update sensor.py
      
      Implemented recommendations from @Quentame. Including time zone from Home Assistant, Updated variable names, and Consolidated duplicate functions.
      
      * Implemented suggested changes from @Quentame
      
      This includes: components name, using f-strings instead of concat, snake_case for variables, constants for the addition of future device types, clearer errors, and removed variables no longer in use.
      
      * Update sensor.py
      
      Restored unit_of_measurement. Updated return to "gal".
      
      * Address pylint errors
      
      * Update sensor.py
      
      Include protected attributes in setup_platform.
      
      * Address Pylint errors
      
      homeassistant/components/flume/sensor.py:63:11: W0703: Catching too general exception Exception (broad-except)
      homeassistant/components/flume/sensor.py:133:8: R1720: Unnecessary "else" after "raise" (no-else-raise)
      homeassistant/components/flume/sensor.py:162:8: R1705: Unnecessary "else" after "return" (no-else-return)
      homeassistant/components/flume/sensor.py:236:8: R1720: Unnecessary "else" after "raise" (no-else-raise)
      
      * Update sensor.py
      
      I'm okay with the broad exception clause.
      homeassistant/components/flume/sensor.py:65:11: W0703: Catching too general exception Exception (broad-except)
      
      * Update sensor.py
      
      Add more specific exceptions for Try/Except.
      
      * Update Flume Sensory.py
      
      add requirements, exclude from tests, us pyflume pypi package.
      
      * Update sensor.py to support latest pyflume package
      
      * Update manifest
      
      provide better flow of manifest and easier readibility.
      
      * Update manifest.json
      
      Reccomended by @balloob as it is already a core requirement
      
      * Update sensor.py
      
      Add proposed changes from @balloob
      
      * Update requirements_all.txt
      
      pytz is a core dependency, removing flume's requirement for it.
      
      * Update sensor.py
      
      Added @MartinHjelmare recommended changes.
      
      * Update sensor.py
      
      Resolving PyLint error
      
      * Update sensor.py
      
      Remove `KeyError`. Add length check for flume entity list before adding.
      
      * Update sensor.py
      
      * Update pyflume version
      
      * Update imports with isort
      
      * Add line break between standard library and thirdparty imports.
      
      * Remove throttle from sensor.py
      08432c7c
  14. Nov 22, 2019
    • Jonas's avatar
      Add Proxmox VE integration (#27315) · 829e0a7c
      Jonas authored
      * Added the Proxmox VE integration
      
      * Fixed code as described in PR #27315
      
      * Fixed small linting error
      
      * Fix code as described in PR #27315 code review
      
      * Improve code as described in PR #27315
      829e0a7c
  15. Nov 19, 2019
    • Steven Impens's avatar
      Add component VersaSense (#24619) · 475c8eba
      Steven Impens authored
      * Add component VersaSense
      
      * Updates based on review
      
      * Changes based on review
      
      * Fixed whitespace
      
      * Fixed lines too long
      
      * Fixed lines too long
      
      * Formatted using black
      
      * Added available property
      
      * Set unavailable property appropriately
      
      * Conversion to f-strings
      
      * Load platform only once per platform
      
      * Fixed duplicate identifiers across multiple devices
      
      * Single call to async_add_entities during setup
      
      * Removed unnecessary async/await syntax
      
      * Added constants for key-value pairs
      
      * Removed async/await syntax
      
      * Added breaks in measurement check
      
      * Added guard clause for discovery_info
      475c8eba
  16. Nov 15, 2019
    • Davide Varricchio's avatar
      Add support for Hisense AEH-W4A1 wifi module (AC remote control) (#28641) · d796053d
      Davide Varricchio authored
      * First commit
      
      * First working release, but there's a lot to do
      
      * Added support for preset_modes
      
      * Refined logic
      
      * Added translations for config_flow
      
      * Updated translations
      
      * modified:   homeassistant/components/hisense_aehw4a1/climate.py
      
      * modified:   climate.py
      
      * Updated library to latest version
      
      * Small changes
      
      * Null states when AC off
      
      * Minor fixes
      
      * Latest updates for TOX
      
      * First commit
      
      * First working release, but there's a lot to do
      
      * new file:   requirements_test_all.txt
      
      * Added support for preset_modes
      
      * Refined logic
      
      * Added translations for config_flow
      
      * Updated translations
      
      * modified:   homeassistant/components/hisense_aehw4a1/climate.py
      
      * modified:   climate.py
      
      * Updated library to latest version
      
      * Small changes
      
      * Null states when AC off
      
      * Minor fixes
      
      * Latest updates for TOX
      
      * new file:   requirements_test_all.txt
      
      * Fighting with tox
      
      * vs Tox round 2
      
      * Isort and updated requirements_test_all.txt
      
      * Fighting with lint
      
      * Implemented available state
      
      * Changed exception type after Travis-ci pylint fails
      
      * Support entry in configuration.yaml
      
      * Removed commented code
      
      * Switched to async
      
      * Minor changes
      
      * Updated library and fixed pylint errors
      
      * Code optimization
      
      * Implemented static ip addresses in configuration.yaml
      
      * Reverted to existing constant
      
      * Corrected pylint wrong-import-order
      
      * Recovery from nuke event (messing all while rebase)
      
      * Resolved Ci error
      
      * Changes for PR
      
      * Corrected temp scale for frontend
      
      * Added test for config entry from configuration.yaml
      
      * Updated dependency
      
      * Check on manual config
      
      * Imported custom exceptions and modified import config
      
      * Optimized
      
      * Change based on PR revision
      
      * Added logging for failure event on manual config
      
      * Tests added but to be corrected
      
      * Edited tests
      
      * Tests updated to ensure no I/O
      
      * Working on tests
      
      * Cheanges based on revision for PR
      
      * Setting librey exception as direct side_effect in test
      
      * Final changes for PR
      
      * Redundand on command solved
      
      * Improved AC logic
      d796053d
  17. Nov 13, 2019
    • Aaron Bach's avatar
      Add support for SimpliSafe locks (#28672) · 8789da36
      Aaron Bach authored
      * Start
      
      * Lock init
      
      * More stubbing
      
      * Final pieces for PR
      
      * Fixed incorrect property access
      
      * Updaed .coveragerc
      
      * Ensure we can handle unknown states
      
      * Account for lock's offline property
      
      * Account for device online
      
      * Unload components concurrently
      
      * Handle unknown states more gracefully
      8789da36
  18. Nov 09, 2019
  19. Nov 07, 2019
    • Heine Furubotten's avatar
      Add azure servicebus notify service (#27566) · af73e54a
      Heine Furubotten authored
      * Add azure servicebus notify service
      
      * files added to .coveragerc
      
      * fix: import content type from const
      
      * Moved imports to top level
      
      * Code review fixes
      + added code owner
      + fixed config validation with has at least one
      + seperate attributes for dto to asb
      * fixed doc link
      * async setup instead of sync
      
      * rename all the things
      - removed too many ifs
      * changed setup back to sync
      + comment about sync IO in lib
      
      * More informative logging
      
      * logging exception -> error
      af73e54a
  20. Oct 28, 2019
  21. Oct 25, 2019
    • jjlawren's avatar
      Update Plex via websockets (#28158) · 05ee15c2
      jjlawren authored
      * Save client identifier from auth for future use
      
      * Use websocket events to update Plex
      
      * Handle websocket disconnections
      
      * Use aiohttp, shut down socket cleanly
      
      * Bad rebase fix
      
      * Don't connect websocket during config_flow validation, fix tests
      
      * Move websocket handling to external library
      
      * Close websocket session on HA stop
      
      * Use external library, revert unnecessary test change
      
      * Async & lint fixes
      
      * Clean up websocket stopper on entry unload
      
      * Setup websocket in component, pass actual needed object to library
      05ee15c2
    • jjlawren's avatar
      Update Plex via websockets (#28158) · 43c7b57d
      jjlawren authored
      * Save client identifier from auth for future use
      
      * Use websocket events to update Plex
      
      * Handle websocket disconnections
      
      * Use aiohttp, shut down socket cleanly
      
      * Bad rebase fix
      
      * Don't connect websocket during config_flow validation, fix tests
      
      * Move websocket handling to external library
      
      * Close websocket session on HA stop
      
      * Use external library, revert unnecessary test change
      
      * Async & lint fixes
      
      * Clean up websocket stopper on entry unload
      
      * Setup websocket in component, pass actual needed object to library
      43c7b57d
  22. Oct 24, 2019
    • Floris Van der krieken's avatar
      Add Unifi Led (#27475) · b1fcecd5
      Floris Van der krieken authored
      * Added Unifi Led
      
      * fixed manifest
      
      * fixed style issue
      
      * removed unused setting
      
      * added sugested changes.
      
      * fixed order
      
      * fixed settings that are required
      
      * Fix review issues
      
      * fix variable name that was too short
      
      * Testing something
      
      * Reverted to a previous version for testing
      
      * Reverted testing changes.
      b1fcecd5
  23. Oct 23, 2019
Loading