Changed wording of bond state belief feature from belief to tracked state (#56147)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
990d474d02
commit
41b25a765c
8 changed files with 55 additions and 49 deletions
|
@ -26,8 +26,8 @@ from .const import (
|
|||
BPUP_SUBS,
|
||||
DOMAIN,
|
||||
HUB,
|
||||
SERVICE_SET_LIGHT_BRIGHTNESS_BELIEF,
|
||||
SERVICE_SET_LIGHT_POWER_BELIEF,
|
||||
SERVICE_SET_LIGHT_BRIGHTNESS_TRACKED_STATE,
|
||||
SERVICE_SET_LIGHT_POWER_TRACKED_STATE,
|
||||
)
|
||||
from .entity import BondEntity
|
||||
from .utils import BondDevice
|
||||
|
@ -103,7 +103,7 @@ async def async_setup_entry(
|
|||
]
|
||||
|
||||
platform.async_register_entity_service(
|
||||
SERVICE_SET_LIGHT_BRIGHTNESS_BELIEF,
|
||||
SERVICE_SET_LIGHT_BRIGHTNESS_TRACKED_STATE,
|
||||
{
|
||||
vol.Required(ATTR_BRIGHTNESS): vol.All(
|
||||
vol.Number(scale=0), vol.Range(0, 255)
|
||||
|
@ -113,7 +113,7 @@ async def async_setup_entry(
|
|||
)
|
||||
|
||||
platform.async_register_entity_service(
|
||||
SERVICE_SET_LIGHT_POWER_BELIEF,
|
||||
SERVICE_SET_LIGHT_POWER_TRACKED_STATE,
|
||||
{vol.Required(ATTR_POWER_STATE): vol.All(cv.boolean)},
|
||||
"async_set_power_belief",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue