예제 #1
0
def rs(hass):
    """Return CommandCover instance."""
    return cmd_rs.CommandCover(
        hass,
        "foo",
        "command_open",
        "command_close",
        "command_stop",
        "command_state",
        None,
    )
예제 #2
0
def rs(hass):
    """Return CommandCover instance."""
    return cmd_rs.CommandCover(hass, 'foo', 'command_open', 'command_close',
                               'command_stop', 'command_state', None)