jcgoette / baby_buddy_homeassistant

This custom integration provides sensors for Baby Buddy API endpoints.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

less expensive connection test

github-actions opened this issue · comments

less expensive connection test

# TODO: less expensive connection test

        self._sensor_type = sensor_type
        self._formed_address = self.form_address()
        self._session = self.session()
        self.data = self.entities_get()

    # TODO: less expensive connection test
    def form_address(self):
        if self._ssl:
            address = f"https://{self._address}/api/"

c1ee2d1c52fffc2aebca69a3fab435cc434ee479