Module Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return IfExp CompareEq NameLoad Str NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad
N/A N/A Provide a mock device scanner. get_scanner N/A N/A hass config N/A N/A N/A Return a mock scanner. N/A SCANNER N/A MockScanner N/A object N/A N/A Mock device scanner. __init__ N/A N/A self N/A N/A N/A Initialize the MockScanner. N/A N/A self devices_home N/A N/A come_home N/A N/A self device N/A N/A N/A Make a device come home. N/A N/A N/A N/A self devices_home append device N/A leave_home N/A N/A self device N/A N/A N/A Make a device leave the house. N/A N/A N/A N/A self devices_home remove device N/A reset N/A N/A self N/A N/A N/A Reset which devices are home. N/A N/A self devices_home N/A N/A scan_devices N/A N/A self N/A N/A N/A Return a list of fake devices. N/A N/A list N/A self devices_home N/A get_device_name N/A N/A self device N/A N/A N/A Return a name for a mock device.

        Return None for dev1 for testing.
         N/A N/A N/A device DEV1 None N/A N/A device lower N/A N/A N/A SCANNER N/A MockScanner