Skip to content

Commit

Permalink
Add daikin update_before_add (home-assistant#34248)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrike authored Apr 15, 2020
1 parent 5faa979 commit 1ea7229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/daikin/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
async def async_setup_entry(hass, entry, async_add_entities):
"""Set up Daikin climate based on config_entry."""
daikin_api = hass.data[DAIKIN_DOMAIN].get(entry.entry_id)
async_add_entities([DaikinClimate(daikin_api)])
async_add_entities([DaikinClimate(daikin_api)], update_before_add=True)


class DaikinClimate(ClimateDevice):
Expand Down

0 comments on commit 1ea7229

Please sign in to comment.