Classes | |
| class | NswRuralFireServiceFeedEntityManager |
| class | NswRuralFireServiceLocationEvent |
Functions | |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | ATTR_CATEGORY = "category" |
| string | ATTR_COUNCIL_AREA = "council_area" |
| string | ATTR_EXTERNAL_ID = "external_id" |
| string | ATTR_FIRE = "fire" |
| string | ATTR_PUBLICATION_DATE = "publication_date" |
| string | ATTR_RESPONSIBLE_AGENCY = "responsible_agency" |
| string | ATTR_SIZE = "size" |
| string | ATTR_STATUS = "status" |
| string | ATTR_TYPE = "type" |
| string | CONF_CATEGORIES = "categories" |
| float | DEFAULT_RADIUS_IN_KM = 20.0 |
| PLATFORM_SCHEMA | |
| SCAN_INTERVAL = timedelta(minutes=5) | |
| string | SIGNAL_DELETE_ENTITY = "nsw_rural_fire_service_feed_delete_{}" |
| string | SIGNAL_UPDATE_ENTITY = "nsw_rural_fire_service_feed_update_{}" |
| string | SOURCE = "nsw_rural_fire_service_feed" |
| list | VALID_CATEGORIES = ["Advice", "Emergency Warning", "Not Applicable", "Watch and Act"] |
Support for NSW Rural Fire Service Feeds.
| None homeassistant.components.nsw_rural_fire_service_feed.geo_location.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the NSW Rural Fire Service Feed platform.
Definition at line 77 of file geo_location.py.
|
private |
Definition at line 40 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_CATEGORY = "category" |
Definition at line 42 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_COUNCIL_AREA = "council_area" |
Definition at line 43 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_EXTERNAL_ID = "external_id" |
Definition at line 44 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_FIRE = "fire" |
Definition at line 45 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_PUBLICATION_DATE = "publication_date" |
Definition at line 46 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_RESPONSIBLE_AGENCY = "responsible_agency" |
Definition at line 47 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_SIZE = "size" |
Definition at line 48 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_STATUS = "status" |
Definition at line 49 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.ATTR_TYPE = "type" |
Definition at line 50 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.CONF_CATEGORIES = "categories" |
Definition at line 52 of file geo_location.py.
| float homeassistant.components.nsw_rural_fire_service_feed.geo_location.DEFAULT_RADIUS_IN_KM = 20.0 |
Definition at line 54 of file geo_location.py.
| homeassistant.components.nsw_rural_fire_service_feed.geo_location.PLATFORM_SCHEMA |
Definition at line 65 of file geo_location.py.
| homeassistant.components.nsw_rural_fire_service_feed.geo_location.SCAN_INTERVAL = timedelta(minutes=5) |
Definition at line 56 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.SIGNAL_DELETE_ENTITY = "nsw_rural_fire_service_feed_delete_{}" |
Definition at line 58 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.SIGNAL_UPDATE_ENTITY = "nsw_rural_fire_service_feed_update_{}" |
Definition at line 59 of file geo_location.py.
| string homeassistant.components.nsw_rural_fire_service_feed.geo_location.SOURCE = "nsw_rural_fire_service_feed" |
Definition at line 61 of file geo_location.py.
| list homeassistant.components.nsw_rural_fire_service_feed.geo_location.VALID_CATEGORIES = ["Advice", "Emergency Warning", "Not Applicable", "Watch and Act"] |
Definition at line 63 of file geo_location.py.