def async_handle_google_actions(hass, cloud, payload): """Handle an incoming IoT message for Google Actions.""" if not cloud.prefs.google_enabled: return ga.turned_off_response(payload) result = yield from ga.async_handle_message(hass, cloud.gactions_config, payload) return result
def async_handle_google_actions(hass, cloud, payload): """Handle an incoming IoT message for Google Actions.""" if not cloud.google_enabled: return ga.turned_off_response(payload) result = yield from ga.async_handle_message( hass, cloud.gactions_config, payload) return result
def async_handle_google_actions(hass, cloud, payload): """Handle an incoming IoT message for Google Actions.""" result = yield from ga.async_handle_message(hass, cloud.gactions_config, payload) return result
def async_handle_google_actions(hass, cloud, payload): """Handle an incoming IoT message for Google Actions.""" result = yield from ga.async_handle_message( hass, cloud.gactions_config, payload) return result