Add total and total increasing state class

This commit is contained in:
Bram Kragten 2021-10-06 09:57:03 +02:00
parent 2d5c8ec3e9
commit 2fb3ac74eb
No known key found for this signature in database
GPG Key ID: FBE2DFDB363EF55B

View File

@ -124,7 +124,7 @@ hassAttributeUtil.LOGIC_STATE_ATTRIBUTES = {
},
state_class: {
type: "array",
options: { sensor: ["measurement"] },
options: { sensor: ["measurement", "total", "total_increasing"] },
description: "State class",
domains: ["sensor"],
},