jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.
MIT License
64 stars 30 forks source link

refactor entity creation #14

Closed github-actions[bot] closed 3 years ago

github-actions[bot] commented 3 years ago

refactor entity creation

https://github.com/jcgoette/baby_buddy_homeassistant/blob/5cab130e0836d1583ecf72516a7ea129d8272230/custom_components/babybuddy/sensor.py#L68


    sensors = []

    # TODO: refactor entity creation
    for entity in baby_buddy_data.entities_get():
        entity_list = [baby_buddy_data]
        for part in entity:

f1e6a2bffb70e7f171015311967f381bea9343be

github-actions[bot] commented 3 years ago

Closed in e038380b8e357820504f1c05ad8923e0732d2c0d