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
73.47k stars 30.69k forks source link

Tasmota (beta) integration will not configure after previously removing it #44963

Closed NobleWolf closed 3 years ago

NobleWolf commented 3 years ago

The problem

I previously added the Tasmota (beta) integration via the UI and then later removed it. Weeks later, now I attempted to add the Tasmota (beta) integration but HA says that the integration is already configured.

As you can see in the screenshot below the Tasmota (beta) integration is not listed. It would be between the Roku and Twilio integrations. The "Aborted" dialogue box showed after clicking the Add Integration then the Tasmota (beta) integration option. Screen Shot 2021-01-08 at 1 17 19 PM

Environment

Problem-relevant configuration.yaml


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

#################
## iOS Actions ##
#################

ios:
  actions:
    - name: Whitneys Lamp
      background_color: "#f2f2f7"
      label:
        text: "Whitney's Lamp"
        color: "#1c1c1e"
      icon:
        icon: lamp
        color: "#1c1c1e"
    - name: MBR Fan
      background_color: "#f2f2f7"
      label:
        text: "Fan/Sound Machine"
        color: "#1c1c1e"
      icon:
        icon: fan
        color: "#1c1c1e"
    - name: Wax Burner
      background_color: "#f2f2f7"
      label:
        text: "Wax Burner"
        color: "#1c1c1e"
      icon:
        icon: candle
        color: "#1c1c1e"
  push:
    categories:
      - name: Alarm Pending
        identifier: 'alarm_pending'
        actions:
          - identifier: 'mobile_action_alarm_home'
            title: 'Disarm'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'
          - identifier: 'mobile_action_alarm_trigger'
            title: 'HELP'
            activationMode: 'background'
            authenticationRequired: false
            destructive: true
            behavior: 'default'
      - name: Alarm Triggered
        identifier: 'alarm_triggered'
        actions:
          - identifier: 'mobile_action_alarm_home'
            title: 'Disarm'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'
      - name: Drain Alarm Off
        identifier: 'drain_alarm_off'
        actions:
          - identifier: 'mobile_action_drain_alarm_off'
            title: 'Disarm drain alarm'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'
      - name: Drain Alarm On
        identifier: 'drain_alarm_on'
        actions:
          - identifier: 'mobile_action_drain_alarm_on'
            title: 'Rearm drain alarm'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'
      - name: Clothes Washer On
        identifier: 'clothes_washer_on'
        actions:
          - identifier: 'mobile_action_clothes_washer_on'
            title: 'Clothes Washer On'
            activationMode: 'background'
            authenticationRequired: true
            destructive: false
            behavior: 'default'

#################
## Twilio
################

twilio:
  account_sid: !secrete x1
  auth_token: !secrete x2

############## Alarm Control Pannel ################
## https://www.home-assistant.io/integrations/manual
## trigger_time: how long alarm state stays in "triggered"
## delay_time: time (sec) state is "pending" before becomes "triggered"; delay between tripping and activating alarm
## arming_time: time (sed) between "arming" and "armed"; allows disarm time; prev. called pending_time
## trigger_time: if 0 then 'triggered' state is blocked
## State cycle: disarmed > arming > armed > pending > triggered
####################################################

alarm_control_panel:
  - platform: manual
    code: 'xxxx'
    arming_time: 30
    delay_time: 20
    trigger_time: 300
    disarmed:
      trigger_time: 0
    armed_home:
      arming_time: 0
      delay_time: 30
    armed_away:
      arming_time: 30
      delay_time: 30
    armed_night:
      trigger_time: 120
      arming_time: 0
      delay_time: 30
    armed_custom_bypass:
      arming_time: 0
      delay_time: 0

####################################################
## Lights
## https://www.home-assistant.io/integrations/light/
## https://www.home-assistant.io/integrations/light.group/
####################################################

light:
  - platform: group
    name: rgb lights
    entities:
      - light.front_yard_porch_light
      - light.living_room_lamp_left
      - light.living_room_lamp_right
  - platform: group
    name: living room lights
    entities:
    - light.living_room_lamp_left
    - light.living_room_lamp_right

####################################################
## Switches
## https://www.home-assistant.io/integrations/switch
####################################################

switch:
  - platform: broadlink
    mac: '78:0F:77:1A:0A:60'
    switches:
      - name: Kitchen Cabinet Lights
        command_on: "JgCYAAABJpMSExMSEzYSNxITExITNhM2EjcSExM2EjcTNxMRExITEhMSExITEhMSExITEhMSEzYROBI3EjcTNhM2EjcTNhMSEwAFGQABJ0gUAAxLAAEnSBQADEsAASVKEwAMTAABJUoVAAxKAAElShIADE0AASdJEgAMTAABJ0gTAAxMAAEmSRIADE0AASZJEgAMTQABJkkTAA0F"
        command_off: "JgCIAAABJZQTEhMSEzYSNxMSExITNhI3EjcSExM2EjcSNxMSExITEhM2EhMTEhMSExITEhMSEzYRFBM2EzYSNxI3EjcTNhMSEwAFGQABJkkTAAxMAAEmSRQADEsAASVKEwAMTAABJUoSAAxNAAEnSBQADEsAASZJEgAMTQABJkkSAAxNAAElShIADQU="
      - name: Kitchen Cabinet Lights Brightness
        command_on: "JgBoAAABJZUUERQRFDUSNxQRFBEUNRM2EjcSExU0EzcSNxMSFBEUERUQFDUTEhQRFBEVDxUQFTQTNxEUFDUSNxQ1EjcUNRITFAAFGQABKEgSAAxPAAEnSBQADE0AASZKEwAMTQABJUoSAA0F"
        command_off: "JgBQAAABJpQRFBMRFDYROBMSExITNhI3EzYSExM2EzYSNxQRExITEhM2EzcTERQRExIUERQRFDUTEhMSFDUTNhM3EjcROBQRFAAFGAABJ0kTAA0FAAAAAAAAAAA="

##########################################################
## Input Selects
## https://www.home-assistant.io/integrations/input_select
##########################################################

input_select:
#kitchen Cabinet Lights
  kitchen_cabinet_lights_color:
    name: Kitchen Cabinet Lights Color
    options:
      - "White"
      - "Red"
      - "Green"
      - "Blue"
  kitchen_cabinet_lights_timer:
    name: Kitchen Cabinet Lights Timer
    options:
      - "10 Minutes"
      - "30 Minutes"
      - "60 Minutes"
      - "120 Minutes"

##########################################################
## Notify Group
## https://www.home-assistant.io/integrations/notify.group
##########################################################

notify:
  - name: ALL_DEVICES
    platform: group
    services:
      - service: mobile_app_x_s_phone
      - service: mobile_app_xs_iphone
  - name: batphone_call
    platform: twilio_call
    from_number: +1##########
  - name: batphone_text
    platform: twilio_sms
    from_number: +1##########

sensor:
###########################################################
## Climatecell.co Weather Sensor
## Source: https://github.com/r-renato/ha-climacell-weather
###########################################################
  - platform: climacell
    api_key: !secret climacell_api_key
    name: home_weather # "cc_" is automatically pre-pended to this
    latitude: !secret gps_geo_home_lt
    longitude: !secret gps_geo_home_ln
    monitored_conditions:
#      realtime:
#        conditions:
#          - temperature
#          - feels_like
#          - dewpoint
#          - humidity
#          - wind_speed
#          - wind_direction
#          - wind_gust
#          - pressure
#          - precipitation
#          - precipitation_type
#          - precipitation_probability
#          - precipitation_accumulation
#          - sunset
#          - sunrise
#          - visibility
#          - cloud_cover
#          - cloud_base
#          - cloud_ceiling
#          - satellite_cloud
#          - surface_shortwave_radiation
#          - moon_phase
#          - weather_condition
#          - weather_groups
#          - pm25
#          - pm10
#          - o3
#          - no2
#          - co
#          - so2
#          - epa_aqi
#          - epa_primary_pollutant
#          - epa_health_concern
#          - china_aqi
#          - china_primary_pollutant
#          - china_health_concern
#          - pollen_tree
#          - pollen_weed
#          - pollen_grass
#          - road_risk_score
#          - road_risk
#          - road_risk_confidence
#          - road_risk_conditions
#          - fire_index
#        update: auto
#        scan_interval:
#          # At least one of these must be specified:
#          days: 0
#          hours: 0
#          minutes: 30
#          seconds: 0
#          milliseconds: 0
#        exclude_interval:
#          1:
#            - "23:30"
#            - "06:00"
#      daily:
#        forecast_observations: 1
#        conditions:
#          - temperature
#          - feels_like
#          - dewpoint
#          - humidity
#          - wind_speed
#          - wind_direction
#          - wind_gust
#          - pressure
#          - precipitation
#          - precipitation_type
#          - precipitation_probability
#          - precipitation_accumulation
#          - sunset
#          - sunrise
#          - visibility
#          - cloud_cover
#          - cloud_base
#          - cloud_ceiling
#          - satellite_cloud
#          - surface_shortwave_radiation
#          - moon_phase
#          - weather_condition
#          - weather_groups
#          - pm25
#          - pm10
#          - o3
#          - no2
#          - co
#          - so2
#          - epa_aqi
#          - epa_primary_pollutant
#          - epa_health_concern
#          - china_aqi
#          - china_primary_pollutant
#          - china_health_concern
#          - pollen_tree
#          - pollen_weed
#          - pollen_grass
#          - road_risk_score
#          - road_risk
#          - road_risk_confidence
#          - road_risk_conditions
#          - fire_index
#        scan_interval:
#          # At least one of these must be specified:
#          days: 0
#          hours: 3
#          minutes: 0
#          seconds: 0
#          milliseconds: 0
#        exclude_interval:
#          1:
#            - "10:00"
#            - "12:00"
#          2:
#            - "00:00"
#            - "06:30"
      hourly:
        forecast_observations: 12
        conditions:
          - temperature
          - feels_like
#          - dewpoint
          - humidity
#          - wind_speed
#          - wind_direction
#          - wind_gust
#          - pressure
          - precipitation
#          - precipitation_type
          - precipitation_probability
#          - precipitation_accumulation
#          - sunset
#          - sunrise
#          - visibility
#          - cloud_cover
#          - cloud_base
#          - cloud_ceiling
#          - satellite_cloud
#          - surface_shortwave_radiation
#          - moon_phase
          - weather_condition
#          - weather_groups
#          - pm25
#          - pm10
#          - o3
#          - no2
#          - co
#          - so2
#          - epa_aqi
#          - epa_primary_pollutant
#          - epa_health_concern
#          - china_aqi
#          - china_primary_pollutant
#          - china_health_concern
#          - pollen_tree
#          - pollen_weed
#          - pollen_grass
#          - road_risk_score
#          - road_risk
#          - road_risk_confidence
#          - road_risk_conditions
#          - fire_index
        scan_interval:
          # At least one of these must be specified:
          days: 0
          hours: 1
          minutes: 0
          seconds: 0
          milliseconds: 0
        exclude_interval:
          1:
            - "23:00"
            - "24:00"
          2:
            - "00:00"
            - "06:00"
#      nowcast:
#        timestep: 5
#        forecast_observations: 1
#        conditions:
#          - temperature
#          - feels_like
#          - dewpoint
#          - humidity
#          - wind_speed
#          - wind_direction
#          - wind_gust
#          - pressure
#          - precipitation
#          - precipitation_type
#          - precipitation_probability
#          - precipitation_accumulation
#          - sunset
#          - sunrise
#          - visibility
#          - cloud_cover
#          - cloud_base
#          - cloud_ceiling
#          - satellite_cloud
#          - surface_shortwave_radiation
#          - moon_phase
#          - weather_condition
#          - weather_groups
#          - pm25
#          - pm10
#          - o3
#          - no2
#          - co
#          - so2
#          - epa_aqi
#          - epa_primary_pollutant
#          - epa_health_concern
#          - china_aqi
#          - china_primary_pollutant
#          - china_health_concern
#          - pollen_tree
#          - pollen_weed
#          - pollen_grass
#          - road_risk_score
#          - road_risk
#          - road_risk_confidence
#          - road_risk_conditions
#          - fire_index
#        scan_interval:
#          # At least one of these must be specified:
#          days: 0
#          hours: 0
#          minutes: 5
#          seconds: 0
#          milliseconds: 0
#        exclude_interval:
#          1:
#            - "09:00"
#            - "10:00"
#          2:
#            - "13:00"
#            - "14:00"
#          3:
#            - "18:00"
#            - "07:00"

Traceback/Error logs

none found

Additional information

Please let me know what other information or tests I can provide.

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

input_select documentation input_select source (message by IssueLinks)

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

group documentation group source (message by IssueLinks)

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

switch documentation switch source (message by IssueLinks)

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

manual documentation manual source (message by IssueLinks)

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

light documentation light source (message by IssueLinks)

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

tasmota documentation tasmota source (message by IssueLinks)

NobleWolf commented 3 years ago

whoops. sorry @probot-home-assistant and @emontnemery . Forgot I had all of those links to integrations in my comments. This report is only relevant to the https://www.home-assistant.io/integrations/tasmota/ integration.

emontnemery commented 3 years ago

This could be because the Tasmota configuration flow is autodetected, but hidden. Can you check if that's the case by showing ignored integrations: image

emontnemery commented 3 years ago

@NobleWolf can you confirm your problem is due to the Tasmota integration being marked as "ignored"?

NobleWolf commented 3 years ago

@emontnemery yes that was the problem. Thank you. I did not realize that was a possibility. I might suggest that as an feature upgrade to have a reminder in this scenario to check the ignored integrations.

emontnemery commented 3 years ago

Thanks for confirming! Yes, I agree it's not very intuitive and should be handled better.

Edit: Fixed by #45161