Skip to content
Snippets Groups Projects
  • Gleb Sinyavskiy's avatar
    97eb4c6c
    Add syncthing integration (#38331) · 97eb4c6c
    Gleb Sinyavskiy authored
    
    * Scaffold the integration
    
    * Add config flow data schema
    
    * Handle configuration errors
    
    * Get folder states
    
    * Support https
    
    * Fix translations
    
    * Listen to syncthing events in a separate thread
    
    * Bump syncthing
    
    * Automatically reconnect to the syncthing server
    
    * Renames
    
    * Improve loading and unloading
    
    * Update folder states from events
    
    * Refactoring, handle FolderPaused event
    
    * Dynamic folder icons
    
    * Refactoring
    
    * Mark folders as unavailable when senrver is unavailable
    
    * Update folder satus when server is available
    
    * Raise PlatformNotReady
    
    * Implement additional polling
    
    * Stop polling when the server is not available
    
    * Minor fixes
    
    * Remove logging
    
    * Check name uniqueness
    
    * Refactoring
    
    * Minor refactorings
    
    * Bump python-syncthing
    
    * Migrate to aiosyncthing
    
    * Minor fixes
    
    * Update .coveragerc
    
    * Set quality scale
    
    * Bump aiosyncthing, properly handle invalid token
    
    * Fix logging
    
    * Fix logging
    
    * Use CONF_VERIFY_SSL from homeassistant.const
    
    * Bump aiosyncthing. Add Syncthing device
    
    * Fix device name
    
    * Bump aiosyncthing
    
    * Bump aiosyncthing
    
    * Extract SyncthingClient
    
    * Add folder to device_state_attributes
    
    * Do not pass the loop
    
    * Cover config_flow.py
    
    * Move self.async_create_entry outside of the try block
    
    * Raise ConfigEntryNotReady if syncthing server is not reachable
    
    * Fix already configured error message
    
    * Change default name to Syncthing
    
    * Bump aiosyncthing
    
    * Fix formatting
    
    * Fix formatting
    
    * Fix tests
    
    * Fix typo, use lis comprehension
    
    * Fix typo, remove unused CONFIG_SCHEMA
    
    * Bump aiosyncthing
    
    * Remove periods from log messages W0001
    
    * Fix tests
    
    * Black, isort
    
    * Remove empty items from manifest.json
    
    * Fix variable naming
    
    * Remove async_setup
    
    * Use SensorEntity
    
    * Use asyncio.create_task instead of self._hass.loop.create_task
    
    * Do not pass hass to FolderSensor initializer
    
    * Rename device_state_attributes to extra_state_attributes
    
    * Use callbacks
    
    * Simplify tests
    
    * Refactor _listen()
    
    * Use url for the title
    
    * Use the url instead of the name to identify the config entry
    
    * Explicitly set sensor attributes, extract _filter_state
    
    * Use server url instead of name in device_info
    
    * Use server url instead of name in logs
    
    * User server id as a device identifier
    
    * Use URL instead of name to identify config entry
    
    * Use shortened server id instead of name to build entity name and unique id
    
    * Do not use CONF_NAME
    
    * Cleanup unused strings
    
    * Cleanup unused strings
    
    * Add IOT class
    
    * Scaffold the integration
    
    * Add config flow data schema
    
    * Handle configuration errors
    
    * Get folder states
    
    * Support https
    
    * Fix translations
    
    * Listen to syncthing events in a separate thread
    
    * Bump syncthing
    
    * Automatically reconnect to the syncthing server
    
    * Renames
    
    * Improve loading and unloading
    
    * Update folder states from events
    
    * Refactoring, handle FolderPaused event
    
    * Dynamic folder icons
    
    * Refactoring
    
    * Mark folders as unavailable when senrver is unavailable
    
    * Update folder satus when server is available
    
    * Raise PlatformNotReady
    
    * Implement additional polling
    
    * Stop polling when the server is not available
    
    * Minor fixes
    
    * Remove logging
    
    * Check name uniqueness
    
    * Refactoring
    
    * Minor refactorings
    
    * Bump python-syncthing
    
    * Migrate to aiosyncthing
    
    * Minor fixes
    
    * Update .coveragerc
    
    * Set quality scale
    
    * Bump aiosyncthing, properly handle invalid token
    
    * Fix logging
    
    * Fix logging
    
    * Use CONF_VERIFY_SSL from homeassistant.const
    
    * Bump aiosyncthing. Add Syncthing device
    
    * Fix device name
    
    * Bump aiosyncthing
    
    * Bump aiosyncthing
    
    * Extract SyncthingClient
    
    * Add folder to device_state_attributes
    
    * Do not pass the loop
    
    * Cover config_flow.py
    
    * Move self.async_create_entry outside of the try block
    
    * Raise ConfigEntryNotReady if syncthing server is not reachable
    
    * Fix already configured error message
    
    * Change default name to Syncthing
    
    * Bump aiosyncthing
    
    * Fix formatting
    
    * Fix formatting
    
    * Fix tests
    
    * Fix typo, use lis comprehension
    
    * Fix typo, remove unused CONFIG_SCHEMA
    
    * Bump aiosyncthing
    
    * Remove periods from log messages W0001
    
    * Fix tests
    
    * Black, isort
    
    * Remove empty items from manifest.json
    
    * Fix variable naming
    
    * Remove async_setup
    
    * Use SensorEntity
    
    * Use asyncio.create_task instead of self._hass.loop.create_task
    
    * Do not pass hass to FolderSensor initializer
    
    * Rename device_state_attributes to extra_state_attributes
    
    * Use callbacks
    
    * Simplify tests
    
    * Refactor _listen()
    
    * Use url for the title
    
    * Use the url instead of the name to identify the config entry
    
    * Explicitly set sensor attributes, extract _filter_state
    
    * Use server url instead of name in device_info
    
    * Use server url instead of name in logs
    
    * User server id as a device identifier
    
    * Use URL instead of name to identify config entry
    
    * Use shortened server id instead of name to build entity name and unique id
    
    * Do not use CONF_NAME
    
    * Cleanup unused strings
    
    * Cleanup unused strings
    
    * Add IOT class
    
    * Apply suggestions from code review
    
    * Clean up
    
    * Fix dict comprehension
    
    * Clean sensor
    
    * Use the server ID as a config entry unique ID
    
    * Remove the AlreadyConfigured exception
    
    * Clean up old error string
    
    * Format json
    
    * Convert sensor attributes to snake case
    
    * Force CI
    
    Co-authored-by: default avatarMartin Hjelmare <marhje52@gmail.com>
    Add syncthing integration (#38331)
    Gleb Sinyavskiy authored
    
    * Scaffold the integration
    
    * Add config flow data schema
    
    * Handle configuration errors
    
    * Get folder states
    
    * Support https
    
    * Fix translations
    
    * Listen to syncthing events in a separate thread
    
    * Bump syncthing
    
    * Automatically reconnect to the syncthing server
    
    * Renames
    
    * Improve loading and unloading
    
    * Update folder states from events
    
    * Refactoring, handle FolderPaused event
    
    * Dynamic folder icons
    
    * Refactoring
    
    * Mark folders as unavailable when senrver is unavailable
    
    * Update folder satus when server is available
    
    * Raise PlatformNotReady
    
    * Implement additional polling
    
    * Stop polling when the server is not available
    
    * Minor fixes
    
    * Remove logging
    
    * Check name uniqueness
    
    * Refactoring
    
    * Minor refactorings
    
    * Bump python-syncthing
    
    * Migrate to aiosyncthing
    
    * Minor fixes
    
    * Update .coveragerc
    
    * Set quality scale
    
    * Bump aiosyncthing, properly handle invalid token
    
    * Fix logging
    
    * Fix logging
    
    * Use CONF_VERIFY_SSL from homeassistant.const
    
    * Bump aiosyncthing. Add Syncthing device
    
    * Fix device name
    
    * Bump aiosyncthing
    
    * Bump aiosyncthing
    
    * Extract SyncthingClient
    
    * Add folder to device_state_attributes
    
    * Do not pass the loop
    
    * Cover config_flow.py
    
    * Move self.async_create_entry outside of the try block
    
    * Raise ConfigEntryNotReady if syncthing server is not reachable
    
    * Fix already configured error message
    
    * Change default name to Syncthing
    
    * Bump aiosyncthing
    
    * Fix formatting
    
    * Fix formatting
    
    * Fix tests
    
    * Fix typo, use lis comprehension
    
    * Fix typo, remove unused CONFIG_SCHEMA
    
    * Bump aiosyncthing
    
    * Remove periods from log messages W0001
    
    * Fix tests
    
    * Black, isort
    
    * Remove empty items from manifest.json
    
    * Fix variable naming
    
    * Remove async_setup
    
    * Use SensorEntity
    
    * Use asyncio.create_task instead of self._hass.loop.create_task
    
    * Do not pass hass to FolderSensor initializer
    
    * Rename device_state_attributes to extra_state_attributes
    
    * Use callbacks
    
    * Simplify tests
    
    * Refactor _listen()
    
    * Use url for the title
    
    * Use the url instead of the name to identify the config entry
    
    * Explicitly set sensor attributes, extract _filter_state
    
    * Use server url instead of name in device_info
    
    * Use server url instead of name in logs
    
    * User server id as a device identifier
    
    * Use URL instead of name to identify config entry
    
    * Use shortened server id instead of name to build entity name and unique id
    
    * Do not use CONF_NAME
    
    * Cleanup unused strings
    
    * Cleanup unused strings
    
    * Add IOT class
    
    * Scaffold the integration
    
    * Add config flow data schema
    
    * Handle configuration errors
    
    * Get folder states
    
    * Support https
    
    * Fix translations
    
    * Listen to syncthing events in a separate thread
    
    * Bump syncthing
    
    * Automatically reconnect to the syncthing server
    
    * Renames
    
    * Improve loading and unloading
    
    * Update folder states from events
    
    * Refactoring, handle FolderPaused event
    
    * Dynamic folder icons
    
    * Refactoring
    
    * Mark folders as unavailable when senrver is unavailable
    
    * Update folder satus when server is available
    
    * Raise PlatformNotReady
    
    * Implement additional polling
    
    * Stop polling when the server is not available
    
    * Minor fixes
    
    * Remove logging
    
    * Check name uniqueness
    
    * Refactoring
    
    * Minor refactorings
    
    * Bump python-syncthing
    
    * Migrate to aiosyncthing
    
    * Minor fixes
    
    * Update .coveragerc
    
    * Set quality scale
    
    * Bump aiosyncthing, properly handle invalid token
    
    * Fix logging
    
    * Fix logging
    
    * Use CONF_VERIFY_SSL from homeassistant.const
    
    * Bump aiosyncthing. Add Syncthing device
    
    * Fix device name
    
    * Bump aiosyncthing
    
    * Bump aiosyncthing
    
    * Extract SyncthingClient
    
    * Add folder to device_state_attributes
    
    * Do not pass the loop
    
    * Cover config_flow.py
    
    * Move self.async_create_entry outside of the try block
    
    * Raise ConfigEntryNotReady if syncthing server is not reachable
    
    * Fix already configured error message
    
    * Change default name to Syncthing
    
    * Bump aiosyncthing
    
    * Fix formatting
    
    * Fix formatting
    
    * Fix tests
    
    * Fix typo, use lis comprehension
    
    * Fix typo, remove unused CONFIG_SCHEMA
    
    * Bump aiosyncthing
    
    * Remove periods from log messages W0001
    
    * Fix tests
    
    * Black, isort
    
    * Remove empty items from manifest.json
    
    * Fix variable naming
    
    * Remove async_setup
    
    * Use SensorEntity
    
    * Use asyncio.create_task instead of self._hass.loop.create_task
    
    * Do not pass hass to FolderSensor initializer
    
    * Rename device_state_attributes to extra_state_attributes
    
    * Use callbacks
    
    * Simplify tests
    
    * Refactor _listen()
    
    * Use url for the title
    
    * Use the url instead of the name to identify the config entry
    
    * Explicitly set sensor attributes, extract _filter_state
    
    * Use server url instead of name in device_info
    
    * Use server url instead of name in logs
    
    * User server id as a device identifier
    
    * Use URL instead of name to identify config entry
    
    * Use shortened server id instead of name to build entity name and unique id
    
    * Do not use CONF_NAME
    
    * Cleanup unused strings
    
    * Cleanup unused strings
    
    * Add IOT class
    
    * Apply suggestions from code review
    
    * Clean up
    
    * Fix dict comprehension
    
    * Clean sensor
    
    * Use the server ID as a config entry unique ID
    
    * Remove the AlreadyConfigured exception
    
    * Clean up old error string
    
    * Format json
    
    * Convert sensor attributes to snake case
    
    * Force CI
    
    Co-authored-by: default avatarMartin Hjelmare <marhje52@gmail.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.