Skip to content
Snippets Groups Projects
  • Evan Bruhn's avatar
    aeaf6945
    Add Logi Circle component, camera and sensor platform (#16540) · aeaf6945
    Evan Bruhn authored
    * Added Logi Circle platform, camera and sensor
    
    * Integrated with Logo Circle API’s feature detection to exclude sensors not supported by device. Added services for recording livestream and taking a snapshot from the livestream.
    
    * Migrated livestream snapshot and recording functionality out of home assistant components and into the logi circle API wrapper. Added services.yaml entries for logi services.
    
    * Added new Logi sensor types, updated to latest version of `logi_circle` and tidy up in preparation for pull request.
    
    - Renamed `logi_set_mode` to `logi_set_config`.
    - Live stream recording and snapshot methods now respect whitelisted path configuration.
    - Added `streaming_mode` and `speaker_volume` sensors.
    - Moved model-specific turn on/off logic to `logi_circle` library.
    
    * Renamed `logi` component domain to `logi_circle`.
    
    * Updates based on PR feedback
    
    * Added timeout of 15s to logi_circle initial setup requests (login and grabbing cameras).
    * Added unique ID (uses MAC address for camera platform, MAC address + sensor type for sensor platform).
    * Added battery level and battery charging attributes to camera.
    * Removed static attributes from device_state_attributes.
    * Replaced STATE_UNKNOWN with None, replaced ‘on’ & ‘off’ with STATE_ON and STATE_OFF.
    * Removed redundant SCAN_INTERVAL in sensor, removed redundant hass param from async_setup_platform in camera and sensor.
    * Style tweaks.
    
    * Replaced `asyncio.wait_for` with `async_timeout` to be consistent with other components.
    aeaf6945
    History
    Add Logi Circle component, camera and sensor platform (#16540)
    Evan Bruhn authored
    * Added Logi Circle platform, camera and sensor
    
    * Integrated with Logo Circle API’s feature detection to exclude sensors not supported by device. Added services for recording livestream and taking a snapshot from the livestream.
    
    * Migrated livestream snapshot and recording functionality out of home assistant components and into the logi circle API wrapper. Added services.yaml entries for logi services.
    
    * Added new Logi sensor types, updated to latest version of `logi_circle` and tidy up in preparation for pull request.
    
    - Renamed `logi_set_mode` to `logi_set_config`.
    - Live stream recording and snapshot methods now respect whitelisted path configuration.
    - Added `streaming_mode` and `speaker_volume` sensors.
    - Moved model-specific turn on/off logic to `logi_circle` library.
    
    * Renamed `logi` component domain to `logi_circle`.
    
    * Updates based on PR feedback
    
    * Added timeout of 15s to logi_circle initial setup requests (login and grabbing cameras).
    * Added unique ID (uses MAC address for camera platform, MAC address + sensor type for sensor platform).
    * Added battery level and battery charging attributes to camera.
    * Removed static attributes from device_state_attributes.
    * Replaced STATE_UNKNOWN with None, replaced ‘on’ & ‘off’ with STATE_ON and STATE_OFF.
    * Removed redundant SCAN_INTERVAL in sensor, removed redundant hass param from async_setup_platform in camera and sensor.
    * Style tweaks.
    
    * Replaced `asyncio.wait_for` with `async_timeout` to be consistent with other components.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
.coveragerc 32.88 KiB