mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Add PTZ support to Foscam camera component (#27238)
* Add PTZ support to Foscam camera component * Address review comments: - Move service to foscam domain - Use `dict[key]` for required schema keys or with defaults - Fix sync operations in async context - Remove excessive logging * Fix import order * Move all the initialization to setup_platform and fix motion detection status logic * Move function dictionary out of the function. * Change user input to lowercase snake case * Change user input to lowercase snake case * Fix service example value * Omit foscam const module from code coverage tests * Add myself to foscam codeowners
This commit is contained in:
committed by
Franck Nijhof
parent
4124211095
commit
f6b8cffeaf
5
homeassistant/components/foscam/const.py
Normal file
5
homeassistant/components/foscam/const.py
Normal file
@@ -0,0 +1,5 @@
|
||||
"""Constants for Foscam component."""
|
||||
|
||||
DOMAIN = "foscam"
|
||||
DATA = "foscam"
|
||||
ENTITIES = "entities"
|
||||
Reference in New Issue
Block a user