Commit Graph
51 Commits
Author SHA1 Message Date
Marc Mueller 44049c34f9 Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Michael ec46d4d644 Store runtime data inside the config entry in Nextcloud (#116790) 2024-05-04 19:03:25 +02:00
Marc Mueller 988c71ecc5 Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Jan-Philipp Benecke 3cfe346656 Remove list comprehension when adding entities in Nextcloud (#112429) 2024-03-05 20:44:50 +01:00
Joost Lekkerkerker 0cc1fd5e99 Add icon translations to Nextcloud (#111982) 2024-03-02 00:28:37 +01:00
Erik Montnemery e0c1feb22c Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
escoandandMichael e7d5ae7ef6 Add Nextcloud update entity (#106690)
* add nextcloud update entity

* don't init update entity on older nextcloud versions

* ruff

* pass skipUpdate to module

* bump deps

* bump requirements

* Update homeassistant/components/nextcloud/update.py

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update homeassistant/components/nextcloud/update.py

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* bump requirements

* Update homeassistant/components/nextcloud/update.py

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

* Update homeassistant/components/nextcloud/update.py

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-01-30 23:01:26 +01:00
Erik MontnemeryandJ. Nick Koston 0c2485bc03 Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Aarni KoskelaandFranck Nijhof 706add4a57 Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
laurentriffard 33d144fe2d Set nextcloud integration sensors as numerical values (#103856) 2023-11-16 23:29:44 +01:00
Robert Resch f7292d5b00 Add check that sensors don't have EntityCategory.CONFIG set (#101471) 2023-10-09 13:37:52 +02:00
epenet 18908740ca Fix typo in nextcloud strings (#101686) 2023-10-09 10:04:39 +02:00
Michael d5adf33225 Address late review for Nextcloud (#99226) 2023-08-31 20:35:11 +02:00
Michael 1bd37612af Introduce more sensors to Nextcloud (#99155) 2023-08-27 20:50:27 +02:00
Michael 0ce9d21bea Rework to use list of entity descriptions in Nextcloud integration (#99150) 2023-08-27 20:18:55 +02:00
Michael cc103ddbaa Split Owncloud CPU load in separate sensors (#99141)
* split cpu load values into own sensors

* apply suggestion
2023-08-27 19:34:58 +02:00
escoand d21ee30ddf Extend Nextcloud integration (#94066) 2023-08-27 18:51:31 +02:00
Erik Montnemery 045c327928 Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Michael db4c9c67a2 Do not set hass data before first coordinator refresh (#97343) 2023-08-02 08:29:00 +02:00
Joost LekkerkerkerandMichael cb1f365482 Add entity translations to NextCloud (#96544)
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-18 18:07:32 +02:00
G Johansson 171ce747c1 Remove nextcloud YAML configuration (#93550) 2023-05-29 20:33:29 +02:00
Matthias Alphart 0b9fbb1800 Fix typo in Nextcloud YAML deprecation message (#92060) 2023-04-26 13:51:47 +02:00
Michael cf0550f5c2 Add re-auth flow to nextcloud (#90472) 2023-03-29 21:46:08 +02:00
Michael b881995efc Add verify ssl option to nextcloud (#90462)
add verify sssl option to config flow
2023-03-29 19:36:42 +02:00
MichaelandFranck Nijhof e4bb339a1e Add device info to Nextcloud integration (#90328)
* add device_info

* use entry_id as identifier + device name

* use shorthand attributes

* remove model from device info

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

---------

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-28 12:43:00 +02:00
Michael a361fba8f5 Bump nextcloudmonitor to 1.4.0 (#90372) 2023-03-28 00:48:14 +02:00
Michael 00ce757051 Apply late review comments from #89396 in Nextcloud (#90327) 2023-03-27 00:10:57 +02:00
Michael 45262c6114 Implement config flow for nextcloud (#89396)
* implement config flow

* add tests

* fix hassfest and requirements

* abort import on connection error

* add add_suggested_values_to_schema

* mock async_setup_entry

* revert code owner change

* fix try connect in config flow

* add device info

* allow multiple instances

* fix import in config flow

* remove custom scan interval from coordinator

* applay suggestions

* apply suggestions

* take over ownership from @meichthys

* cleanup import data before passing to user step

* apply suggestions to tests

* add untested files to .coveragerc
2023-03-26 21:14:17 +02:00
Michael d25e394310 Implement data update coordinator for nextcloud (#89652)
* implement data update coordinator

* apply suggestions

* apply suggestions
2023-03-22 09:18:09 +01:00
epenet 2809a686be Remove duplicate code in nextcloud (#89681) 2023-03-14 12:14:29 +01:00
epenet b620e5d8a6 Move nextcloud constants (#89679) 2023-03-14 09:51:03 +01:00
Erik Montnemery 1450b44c63 Sort manifests 7 (#87028) 2023-02-08 20:32:43 +01:00
Dusan Cervenka bce273660d Fix nextcloud 'ncm' referenced before assignment (#80711)
* #80673 Fix 'ncm' referenced before assignmen

 UnboundLocalError: local variable 'ncm' referenced before assignmen

Signed-off-by: Dusan Cervenka <cervenka.dusan@gmail.com>

* #80673 changes based on review

Signed-off-by: Dusan Cervenka <cervenka.dusan@gmail.com>

* Changes made based on review

Signed-off-by: Dusan Cervenka <cervenka.dusan@gmail.com>

Signed-off-by: Dusan Cervenka <cervenka.dusan@gmail.com>
2022-10-21 08:26:14 +02:00
Flemming Sørvollen Skaret c7b56f4079 Clean duplicate nextcloud sensor (#79900)
Update __init__.py

Removed duplicate of  "nextcloud_database_version"
2022-10-10 14:12:37 +02:00
epenet 420733a064 Improve entity type hints [n] (#77824) 2022-09-05 07:53:55 -05:00
epenetandepenet 80b6195505 Add sensor setup type hints [m-n] (#63314)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:09:36 +01:00
epenetandepenet 33e4251606 Add binary_sensor setup type hints [h-n] (#63269)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 11:32:26 +01:00
epenetandepenet b6909feb8b Add init type hints [n-o] (#63190)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-01 13:39:38 -08:00
Sebastian Lövdahl d18f1cc872 Use Platform constants all over the place 2/3 (#62953) 2021-12-28 21:23:07 +01:00
Erik Montnemery 103e21c278 Move temperature conversions to sensor base class (5/8) (#54475) 2021-08-12 13:26:17 +02:00
Franck Nijhof 055cdc64c0 Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Erik Montnemery c900e3030b Migrate integrations n-q to extend SensorEntity (#48214) 2021-03-22 19:46:46 +01:00
Quentame 198ecb0945 Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Philip Allgaier dde6305549 Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
MeIchthys 2f9afd3a2c Fix regression in Nextcloud component (#40438) 2020-09-22 10:58:51 +02:00
MeIchthys 3612df91e1 Fix Nextcloud sensors becoming unavailable (#40212) 2020-09-18 15:34:17 +02:00
Erik Montnemery b022e08db9 Rename BinarySensorDevice to BinarySensorEntity (#34462)
* Rename BinarySensorDevice to BinarySensorEntity

* Tweak

* Move deprecation warning to __new__, add test

* Move deprecation warning back to __init__

* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00
Lennart Henke 90f7cd2d44 Fix nextcloud sensor mappings (#33840) 2020-04-09 16:10:17 +02:00
Franck Nijhof 39336d3ea3 Add prettier (in pre-commit and CI) (#33693)
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen f1d3c0d19b Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00