home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.68k stars 30.43k forks source link

Scrape entity_id and icon definition is missing #50843

Closed Bastian007 closed 3 years ago

Bastian007 commented 3 years ago

The problem

Hi everyone,

To use a scrape sensor it would be benficial to have entity_id (and icon) definition as optional parameter to allow entity can be managed from the UI.

Greetings, Bastian

What is version of Home Assistant Core has the issue?

core-2021.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Scrape

Link to integration documentation on our website

https://www.home-assistant.io/integrations/scrape/

Example YAML snippet

sensor:
  - platform: scrape
    resource: https://lua.rlp.de/de/presse/detail/news/News/detail/coronavirus-sars-cov-2-aktuelle-fallzahlen-fuer-rheinland-pfalz/
    name: Inzidenz
    select: ".contenttable tr:nth-child(4) td:nth-of-type(9)"
    value_template: '{{ ((value.split(" ")[0]) | replace (",", ".")) }}'
    unit_of_measurement: "7-Tages-Inzidenz"
    # Request every hour
    scan_interval: 3600

Anything in the logs that might be useful for us?

https://www.home-assistant.io/faq/unique_id

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

scrape documentation scrape source (message by IssueLinks)

frenck commented 3 years ago

Thank you for reaching out. We use GitHub for tracking issues, not for providing support or tracking feature requests.

If you want to suggest a feature, you should try our Community Forum: Feature Requests.

If you have additional questions, feel free to join our Discord chat server.

Thanks! 👍