Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
910c0346
Unverified
Commit
910c0346
authored
4 years ago
by
tkdrob
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use core constants for recollect_waste (#46416)
parent
a67b5989
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
homeassistant/components/recollect_waste/sensor.py
+1
-3
1 addition, 3 deletions
homeassistant/components/recollect_waste/sensor.py
with
1 addition
and
3 deletions
homeassistant/components/recollect_waste/sensor.py
+
1
−
3
View file @
910c0346
...
...
@@ -6,7 +6,7 @@ import voluptuous as vol
from
homeassistant.components.sensor
import
PLATFORM_SCHEMA
from
homeassistant.config_entries
import
SOURCE_IMPORT
,
ConfigEntry
from
homeassistant.const
import
ATTR_ATTRIBUTION
,
CONF_FRIENDLY_NAME
from
homeassistant.const
import
ATTR_ATTRIBUTION
,
CONF_FRIENDLY_NAME
,
CONF_NAME
from
homeassistant.core
import
HomeAssistant
,
callback
from
homeassistant.helpers
import
config_validation
as
cv
from
homeassistant.helpers.update_coordinator
import
(
...
...
@@ -25,8 +25,6 @@ DEFAULT_ATTRIBUTION = "Pickup data provided by ReCollect Waste"
DEFAULT_NAME
=
"
recollect_waste
"
DEFAULT_ICON
=
"
mdi:trash-can-outline
"
CONF_NAME
=
"
name
"
PLATFORM_SCHEMA
=
PLATFORM_SCHEMA
.
extend
(
{
vol
.
Required
(
CONF_PLACE_ID
):
cv
.
string
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment