Traceback (most recent call last):


 "G:\Python\Python37\lib\logging\__init__.py", line 1034, in emit

msg = self.format(record)


 "G:\Python\Python37\lib\logging\__init__.py", line 880, in format

return fmt.format(record)


 "G:\Python\Python37\lib\logging\__init__.py", line 619, in format

record.message = record.getMessage()


 "G:\Python\Python37\lib\logging\__init__.py", line 380, in getMessage

msg = msg % self.args
TypeError: not enough arguments for format string

Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/service.py", line 224, in _handle_service_platform_call

await getattr(entity, func)(**data)


 "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/braviatv.py", line 309, in turn_on

self._braviarc.turn_on()


 "/usr/local/lib/python3.6/site-packages/braviarc/braviarc.py", line 257, in turn_on

self.send_req_ircc(self.get_command_code('TvPower'))


 "/usr/local/lib/python3.6/site-packages/braviarc/braviarc.py", line 108, in send_req_ircc

params+"</IRCCCode></u:X_SendIRCC></s:Body></s:Envelope>").encode("UTF-8")
TypeError: must be str, not NoneType
