Invalid timestamp
See original GitHub issueDescribe the bug
I was getting “Unavailable” on v.1 on alarms and timers but now get “Invalid Timestamp” on v1.1.0
Version of the integration
V1.1.0
Glocaltokens Version (Underlying package)
Add pip information here.
Logs
2021-03-25 20:15:37 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:15:43 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform meross_cloud is taking over 10 seconds.
2021-03-25 20:16:37 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: google_home
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
2021-03-25 20:16:47 WARNING (MainThread) [homeassistant.components.cloud.google_config] Error reporting state - 5: Requested entity was not found.
Debug log
logger:
default: debug
logs:
custom_components.google_home: debug
Add your debug logs here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
15.00 - 6760 Invalid timestamp. - Teradata Database
6760 Invalid timestamp. Explanation: This error occurs when the specified timestamp is invalid. For instance, timestamp values like ...
Read more >Teradata BTEQ - Invalid timestamp issue - Stack Overflow
The error message indicates that S_ORDER_ITEM.LAST_UPD is not a date/timestamp (char?) and the automatic typecast to a timestamp fails due ...
Read more >Invalid timestamp received; - Common causes and quick fixes
A detailed guide on how to resolve errors related to "Invalid timestamp received;" ... Invalid timestamp received; – How to solve this Elasticsearch...
Read more >Invalid Timestamp Error When Change Data Type From String ...
Invalid Timestamp error occurs when changing the data type from string to date and time in Tableau Desktop with Google BigQuery data.
Read more >ORA-08186 invalid timestamp - Oracle Communities
select count(*) from fq AS OF TIMESTAMP TO_TIMESTAMP('05-APR-20 14:45:34','DD-MON-RR HH24:MI:SS');. ORA-08186: invalid timestamp specified.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you, @KapJI, for taking a look at this. I would rather go with your 2nd proposal and use
UNAVAILABLE
just as you mentioned mobile app sensor uses 😃 That way we would still keep device class that enables sensors to be used in automation and blueprints without problems (there are some nice popular blueprints out there that filter devices bydevice_class
beingDEVICE_CLASS_TIMESTAMP
(see this PR)To hopefully better explain the “Invalid Timestamp” issue.
Previously, an _alarms or _timers entity would display as “Off” or “On” depending on if any were set.
However, they now try to display as a formatted timestamp. So now show as “In 7 hours” if a timer/alarm is set (Rather than just “On”). If no alarm/timer is set they display as “Invalid Timestamp” (Rathe than just “Off”)
Please see below
I hope that clears it up.
Personally speaking, the alarm/timer entities contain the set alarms/timers in an array, I think the entity itself should just show “Yes” or “No” as per original functionaliy.
Thank you for your hard work.
P.S. Also notice your version number has been dropped to 0.0 in my screenshot above, I think it used to show. Ive now updated to v1.1 and it doesnt show.