diff --git a/homeassistant/components/recorder/models.py b/homeassistant/components/recorder/models.py index 017c65cd75f..8b5aef88738 100644 --- a/homeassistant/components/recorder/models.py +++ b/homeassistant/components/recorder/models.py @@ -70,7 +70,7 @@ DOUBLE_TYPE = ( Float() .with_variant(mysql.DOUBLE(asdecimal=False), "mysql") .with_variant(oracle.DOUBLE_PRECISION(), "oracle") - .with_variant(postgresql.DOUBLE_PRECISION, "postgresql") + .with_variant(postgresql.DOUBLE_PRECISION(), "postgresql") )