* initial attempt at clearable time selector
* only show clear button if there is a value
* use null instead of undefined.
* leave event value undefined
* move clear button into input
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* picture cards: add person image support
* fix: person attributes typing
* review: apply comment from @coderabbitai
* fix lint:types
* review: put person domain in image_entity config
* add picture card compatibility & exemple in gallery
* fix lint
* Allow only image or person domains on image_entity editor config
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
* fix domain type
* gracefully use the default config.image if the person don't have an image
* gracefully use the default config.image if the person don't have an image (that works)
---------
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
* Fixes last point of graphs.
Especially for items that don't often change state, the last state could
be essentially be ignored for quite a while, using the average of the
last series of entries instead.
Also for detailed graphs, the initial values could be off, because the
initial last value would be computed on bad data, resulting in NaN.
And no longer adds a double entry at end if graph has only one point.
* Redefine browser requirements for modern (latest) builds
* Rename babel class properties plugin
* Fix only allowing latest Android
* Add browsers released in last year
* Use at or above for utilization (no change to browsers currently)
* Only use time query (no effective change)
* Add transform for private methods
* Fix some typos in browserslist config
Co-authored-by: Quentame <polletquentin74@me.com>
* bump browserslist-useragent-regex
* Add fallback feature detection for Array.prototype.findLast
---------
Co-authored-by: Quentame <polletquentin74@me.com>
Currently, if device delete fails, the frontend stays silent. The
user might get hints in the Core logs, but nothing shown on the
frontend.
This adds error handling similar to other places.
* Add model_id to device info card
* Update src/panels/config/devices/device-detail/ha-device-info-card.ts
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* Add model_id to device info card
---------
Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
* Use extended address in WS API calls
This follows the HA Core change and passes the extended address to the
OTBR WS API calls where necessary. It also follows the new OTBR info
format which potentially includes multiple OTBRs.
This allows to support multiple OTBR managed by a single system.
Note: There is one corner case when none of the OTBR is found via
discovery. In this case we offer to reset the OTBR. Currently we simply
offer this for the primary or first one found.
* Fix lint error
* Update src/panels/config/integrations/integration-panels/thread/thread-config-panel.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Update src/panels/config/integrations/integration-panels/thread/thread-config-panel.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Use Record type to map OBTR data
* Add labels to Thread network operation icons
* Apply suggestions from code review
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
* Move state content into its own component for reusability
* Add entity state content selector
* Use live timer
* Rename live timer to remaining time and remove remaining attribute from state content list
* Move default in state content component
* Fix picker