Example #1
0
def get_ids(statemachine):
    """ Get the light IDs that are being tracked in the statemachine. """
    return ha.get_grouped_state_cats(statemachine, STATE_CATEGORY_FORMAT, True)
Example #2
0
def get_categories(statemachine):
    """ Gets the categories of the different Chromecasts that are being
    tracked. """
    return ha.get_grouped_state_cats(statemachine, STATE_CATEGORY_FORMAT,
                                     False)
Example #3
0
def get_categories(statemachine):
    """ Returns the categories of devices that are being tracked in the
        statemachine. """
    return ha.get_grouped_state_cats(statemachine, STATE_CATEGORY_FORMAT,
                                     False)