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)
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)
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)