mirror of
https://github.com/home-assistant/core.git
synced 2025-12-23 20:39:01 +00:00
Update HAP-python to 2.1.0 (#14528)
This commit is contained in:
@@ -38,9 +38,9 @@ def validate_entity_config(values):
|
||||
return entities
|
||||
|
||||
|
||||
def show_setup_message(hass, bridge):
|
||||
def show_setup_message(hass, pincode):
|
||||
"""Display persistent notification with setup information."""
|
||||
pin = bridge.pincode.decode()
|
||||
pin = pincode.decode()
|
||||
_LOGGER.info('Pincode: %s', pin)
|
||||
message = 'To setup Home Assistant in the Home App, enter the ' \
|
||||
'following code:\n### {}'.format(pin)
|
||||
|
||||
Reference in New Issue
Block a user