Skip to content

Legomaniac/hass_lacrosse_alerts_mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LaCrosse Alerts Mobile for Home Assistant

Hass component to read data from lacrossealertsmobile.com

Usage:

  • Place sensor.py file in <your homeassistant dir>/custom_components/lacrosse_alerts_mobile/
  • Place the following in your configuration.yaml:
  sensor:
    - platform: lacrosse_alerts_mobile
      id: !secret lacrosse_id
  • Place the following in your secrets.yaml:
  lacrosse_id: <16 digit id number from back of unit>

Progess:

  • Worked with @concongo to get his module updated for Python 3
  • Used that module to implement direct call to the API in place of my hodge-podge method of loading the website
  • Working towards HASS level 'correctness'

Todo:

  • Fix: Error doing job: Task exception was never retrieved on first run. Example:
Traceback (most recent call last):
  File "/opt/homeassistant/lib64/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 352, in _async_add_entity
    await entity.async_update_ha_state()
  File "/opt/homeassistant/lib64/python3.7/site-packages/homeassistant/helpers/entity.py", line 232, in async_update_ha_state
    state = self.state
  File "/home/homeassistant/.homeassistant/custom_components/lacrosse_alerts_mobile/sensor.py", line 85, in state
    return self._humidity
AttributeError: 'LaCrosseHumidSensor' object has no attribute '_humidity'

About

A Home Assistant component for LaCrosse Alerts Mobile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages