From e926426af9e4936ba2727de3b2c00c2803c38a29 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 10 Aug 2016 17:40:52 -0700 Subject: [PATCH] Recorder: Increase size of the entity column in states table (#2778) Fixes https://github.com/home-assistant/home-assistant/issues/2697 --- homeassistant/components/recorder/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/recorder/models.py b/homeassistant/components/recorder/models.py index fe67476b11e..6e3e2db064d 100644 --- a/homeassistant/components/recorder/models.py +++ b/homeassistant/components/recorder/models.py @@ -61,7 +61,7 @@ class States(Base): # type: ignore __tablename__ = 'states' state_id = Column(Integer, primary_key=True) domain = Column(String(64)) - entity_id = Column(String(64)) + entity_id = Column(String(255)) state = Column(String(255)) attributes = Column(Text) event_id = Column(Integer, ForeignKey('events.event_id'))