Chouffy/home_assistant_tgtg

error while running tgtg_get_tokens script linked to new cookies attribute

Closed this issue · 1 comments

When running the tgtg_get_tokens to generate the new tokens, In addition to the new tokens, I also get the follwing error. Any ideas what I am doing wrong here?

Traceback (most recent call last):
  File "C:\Users\xxxxx\Downloads\home_assistant_tgtg-5.0.0\tgtg_get_tokens.py", line 25, in <module>
    print("    cookie: '" + tgtgClient.cookie + "'")
AttributeError: 'TgtgClient' object has no attribute 'cookie'

My bad ... before running the tgtg_get_token script of course I needed to update the tgtg client first using:
pip install tgtg==0.14.0
After the tgtg_get_tokens script runs just fine.