Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/atag/water_heater.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def operation_list(self):
"""List of available operation modes."""
return OPERATION_LIST

async def set_temperature(self, **kwargs):
async def async_set_temperature(self, **kwargs):
"""Set new target temperature."""
if await self.coordinator.atag.dhw_set_temp(kwargs.get(ATTR_TEMPERATURE)):
self.async_write_ha_state()
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/fortigate/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def async_scan_devices(self):
await self.async_update_info()
return [device.mac for device in self.last_results]

async def get_device_name(self, device):
def get_device_name(self, device):
"""Return the name of the given device or None if we don't know."""
name = next(
(result.hostname for result in self.last_results if result.mac == device),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async def async_stop_cover(self, **kwargs):
self._async_update_from_command(await self._shade.stop())
await self._async_force_refresh_state()

async def set_cover_position(self, **kwargs):
async def async_set_cover_position(self, **kwargs):
"""Move the shade to a specific position."""
if ATTR_POSITION not in kwargs:
return
Expand Down