@@ -378,7 +378,7 @@ def get_hvac_modes(self):
378
378
async def async_set_hvac_mode (self , hvac_mode ):
379
379
"""Set HVAC mode."""
380
380
_LOGGER .debug (
381
- "Device '%s' request to set hvac_mode to %s " ,
381
+ "Device '%s' request to set hvac_mode to '%s' " ,
382
382
self ._device .name ,
383
383
hvac_mode ,
384
384
)
@@ -403,7 +403,7 @@ async def async_set_hvac_mode(self, hvac_mode):
403
403
result &= await self ._device .patch (self ._device .id , self ._embedded_id , "onOffMode" , "" , on_off_mode )
404
404
if result is False :
405
405
_LOGGER .warning (
406
- "Device '%s' problem setting onOffMode to %s " ,
406
+ "Device '%s' problem setting onOffMode to '%s' " ,
407
407
self ._device .name ,
408
408
on_off_mode ,
409
409
)
@@ -423,7 +423,7 @@ async def async_set_hvac_mode(self, hvac_mode):
423
423
)
424
424
if result is False :
425
425
_LOGGER .warning (
426
- "Device '%s' problem setting operationMode to %s " ,
426
+ "Device '%s' problem setting operationMode to '%s' " ,
427
427
self ._device .name ,
428
428
operation_mode ,
429
429
)
@@ -537,7 +537,7 @@ async def async_set_fan_mode(self, fan_mode):
537
537
)
538
538
if res is False :
539
539
_LOGGER .warning (
540
- "Device '%s' problem setting fan_mode fixed to %s " ,
540
+ "Device '%s' problem setting fan_mode fixed to '%s' " ,
541
541
self ._device .name ,
542
542
new_fixed_mode ,
543
543
)
@@ -551,7 +551,7 @@ async def async_set_fan_mode(self, fan_mode):
551
551
)
552
552
if res is False :
553
553
_LOGGER .warning (
554
- "Device '%s' problem setting fan_mode to %s " ,
554
+ "Device '%s' problem setting fan_mode to '%s' " ,
555
555
self ._device .name ,
556
556
fan_mode ,
557
557
)
@@ -617,7 +617,7 @@ def get_swing_horizontal_modes(self):
617
617
618
618
async def __set_swing (self , direction , swing_mode ):
619
619
_LOGGER .debug (
620
- "Device '%s' request to set swing %s mode to %s " ,
620
+ "Device '%s' request to set swing %s mode to '%s' " ,
621
621
self ._device .name ,
622
622
direction ,
623
623
swing_mode ,
@@ -647,7 +647,7 @@ async def __set_swing(self, direction, swing_mode):
647
647
)
648
648
if res is False :
649
649
_LOGGER .warning (
650
- "Device '%s' problem setting %s swing mode to %s " ,
650
+ "Device '%s' problem setting %s swing mode to '%s' " ,
651
651
self ._device .name ,
652
652
direction ,
653
653
new_mode ,
0 commit comments