Commit Graph

15 Commits (e30940ef2adc2a2f4b006e85092f53bcbcb68bfb)

Author SHA1 Message Date
corneyl 137793c067
Add sensors for next Picnic deliveries (#66474) 2022-02-21 23:45:30 +01:00
corneyl 17a732197b
Add Picnic re-auth flow (#62938)
* Add re-auth handler for Picnic

* Extracted authentication part so right form/errors can be shown during re-auth flow

* Add tests for Picnic's re-authentication flow

* Simplify re-auth flow by using the same step as step_user

* Use user step also for re-auth flow instead of having an authenticate step

* Add check for when re-auth is done with different account

* Remove unnecessary else in Picnic config flow

* Fix the step id in the translation strings file
2022-02-12 08:15:36 -08:00
Marc Mueller ef7316d8d9
Update typing (5) [tests] (#63926) 2022-01-11 21:28:13 +01:00
Hmmbob ec75b0caf0
Add Picnic last_order_max_order_time sensor (#63169) 2022-01-04 18:41:31 +01:00
corneyl 7fc5605639
Fix keyerror when no previous Picnic orders exist (#62870) 2021-12-27 20:31:35 +01:00
corneyl b0704c190f
Fix picnic sensor time unit (#62437) 2021-12-27 17:44:45 +01:00
Dave T d7de3fbfce
Use new enums in picnic tests (#62549) 2021-12-22 14:29:55 +01:00
Ville Skyttä 39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
Franck Nijhof 69b7495324
Sensor: Handle local->UTC conversion and reject timezoneless timestamps (#59971) 2021-11-22 17:04:06 +01:00
Franck Nijhof 01efe1eba2
Add datetime object as valid StateType (#52671)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-18 14:11:44 +01:00
Franck Nijhof e94bebdf7b
Migrate attribution attribute for Picnic (#57507) 2021-10-11 20:39:51 -07:00
Paulus Schoutsen a4d9019ffc
Refactor persistent notification to no longer route all data via a service (#57157)
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Marc Mueller ce6921d73c
Use EntityDescription - picnic (#55682)
* Use EntityDescription - picnic

* Change _attr_extra_state_attributes to be static

* Fix tests
2021-09-03 22:35:59 +02:00
Franck Nijhof c68b259bd3
Cleanup of unused connection_class logic (#49865)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
corneyl 303ab36c54
Add Picnic integration (#47507)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: @tkdrob <tkdrob4390@yahoo.com>
2021-04-21 22:21:56 -07:00