<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def refresh(self):
 """Do a full refresh of all devices and automations."""

        self.get_devices(refresh=True)
        self.get_automations(refresh=True)