We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab1cb0 commit cad9031Copy full SHA for cad9031
src/cache/fetch-states.ts
@@ -18,9 +18,13 @@ async function fetchStates(
18
? ""
19
: "no_attributes&";
20
const minimal_response_query =
21
- minimal_response && isEntityIdAttrConfig(entity) ? "" : "minimal_response&";
+ isEntityIdAttrConfig(entity) || minimal_response == false
22
+ ? ""
23
+ : "minimal_response&";
24
const significant_changes_only_query =
- significant_changes_only && isEntityIdAttrConfig(entity) ? "0" : "1";
25
+ isEntityIdAttrConfig(entity) || significant_changes_only == false
26
+ ? "0"
27
+ : "1";
28
const uri =
29
`history/period/${start.toISOString()}?` +
30
`filter_entity_id=${entity.entity}&` +
0 commit comments