String formatting and max line length - Part 2 (#84393)
This commit is contained in:
parent
7e682af472
commit
cb13418bab
69 changed files with 431 additions and 174 deletions
|
@ -187,8 +187,11 @@ class HomeKitHeaterCoolerEntity(HomeKitBaseClimateEntity):
|
|||
else:
|
||||
hvac_mode = TARGET_HEATER_COOLER_STATE_HOMEKIT_TO_HASS.get(state)
|
||||
_LOGGER.warning(
|
||||
"HomeKit device %s: Setting temperature in %s mode is not supported yet;"
|
||||
" Consider raising a ticket if you have this device and want to help us implement this feature",
|
||||
(
|
||||
"HomeKit device %s: Setting temperature in %s mode is not supported"
|
||||
" yet; Consider raising a ticket if you have this device and want"
|
||||
" to help us implement this feature"
|
||||
),
|
||||
self.entity_id,
|
||||
hvac_mode,
|
||||
)
|
||||
|
@ -202,8 +205,11 @@ class HomeKitHeaterCoolerEntity(HomeKitBaseClimateEntity):
|
|||
return
|
||||
if hvac_mode not in {HVACMode.HEAT, HVACMode.COOL}:
|
||||
_LOGGER.warning(
|
||||
"HomeKit device %s: Setting temperature in %s mode is not supported yet;"
|
||||
" Consider raising a ticket if you have this device and want to help us implement this feature",
|
||||
(
|
||||
"HomeKit device %s: Setting temperature in %s mode is not supported"
|
||||
" yet; Consider raising a ticket if you have this device and want"
|
||||
" to help us implement this feature"
|
||||
),
|
||||
self.entity_id,
|
||||
hvac_mode,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue