Im trying to pull some info from this link.
http://www.nfl.com/liveupdate/scores/scores.json
im using a sensor like this- platform: rest
name: NFL
json_attributes:
- home
- abbr
- away
resource: 'http://www.nfl.com/liveupdate/scores/scores.json'
(im just testing if I can get it to work, im new at this)
if you go to that url you can see its more than 255 charecters. I see this error in ha
2018-09-06 17:18:19 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity.py", line 313, in async_update_ha_state
self.entity_id, state, attr, self.force_update, self._context)
File "/usr/src/app/homeassistant/core.py", line 853, in async_set
context)
File "/usr/src/app/homeassistant/core.py", line 623, in __init__
"State max length is 255 characters.").format(entity_id))
homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity id: sensor.nfl. State max length is 255 characters.
If anyone could help that would be really nice