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