* Update nl.json
* added period to end of every logging entry.
* Functional and ambient light added
* Change to dict.get method
* Update light.py
* Update __init__.py
Platforms sorted 🔡.
* Update api.py
- Removed all none light platform related changes.
- Period removed from loggin.
- Storing entities removed.
- Not needed formating change reverted.
-
* Update const.py
All words seperated with underscore.
* Update nl.json
Reverted change on translation file.
* Update light.py
-All words of constants seperated with underscore.
- f-string used iso concatenation.
- Added "ambient"to loggin text.
- Removed self._state = false when color setting did not succeed.
- Logging starts with a capital.
* Update api.py
- Removed ending perio in logging
- Reverted formating
- Removed self.device.entities.append(self)
-
* Update entity.py
- Removed self.device.entities.append(self)
* Update api.py
- Adding newline at end of file
- Added whitespave after ","
* Update api.py
Newline at end of file
* Update const.py
Removed unused.
* Update light.py
- seperated words with whitespaces
- improved debug text
* Update light.py
remove state setting after an error
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
"""Constants for the Home Connect integration."""
|
|
|
|
DOMAIN = "home_connect"
|
|
|
|
OAUTH2_AUTHORIZE = "https://api.home-connect.com/security/oauth/authorize"
|
|
OAUTH2_TOKEN = "https://api.home-connect.com/security/oauth/token"
|
|
|
|
BSH_POWER_STATE = "BSH.Common.Setting.PowerState"
|
|
BSH_POWER_ON = "BSH.Common.EnumType.PowerState.On"
|
|
BSH_POWER_OFF = "BSH.Common.EnumType.PowerState.Off"
|
|
BSH_POWER_STANDBY = "BSH.Common.EnumType.PowerState.Standby"
|
|
BSH_ACTIVE_PROGRAM = "BSH.Common.Root.ActiveProgram"
|
|
BSH_OPERATION_STATE = "BSH.Common.Status.OperationState"
|
|
|
|
COOKING_LIGHTING = "Cooking.Common.Setting.Lighting"
|
|
COOKING_LIGHTING_BRIGHTNESS = "Cooking.Common.Setting.LightingBrightness"
|
|
|
|
BSH_AMBIENT_LIGHT_ENABLED = "BSH.Common.Setting.AmbientLightEnabled"
|
|
BSH_AMBIENT_LIGHT_BRIGHTNESS = "BSH.Common.Setting.AmbientLightBrightness"
|
|
BSH_AMBIENT_LIGHT_COLOR = "BSH.Common.Setting.AmbientLightColor"
|
|
BSH_AMBIENT_LIGHT_COLOR_CUSTOM_COLOR = (
|
|
"BSH.Common.EnumType.AmbientLightColor.CustomColor"
|
|
)
|
|
BSH_AMBIENT_LIGHT_CUSTOM_COLOR = "BSH.Common.Setting.AmbientLightCustomColor"
|
|
|
|
BSH_DOOR_STATE = "BSH.Common.Status.DoorState"
|
|
|
|
SIGNAL_UPDATE_ENTITIES = "home_connect.update_entities"
|